[buddypress-trac] [BuddyPress] #2116: s not set in bp-core-templatetags.php

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Mar 4 00:21:38 UTC 2010


#2116: s not set in bp-core-templatetags.php
----------------------+-----------------------------------------------------
Reporter:  edelwater  |       Owner:     
    Type:  defect     |      Status:  new
Priority:  minor      |   Milestone:  1.3
Keywords:  bug        |  
----------------------+-----------------------------------------------------
 error:
 {{{
 Undefined index: s in /var/www/vhosts/xxxxx.com/httpdocs/wp-
 content/plugins/buddypress/bp-core/bp-core-templatetags.php on line 135
 }}}


 solution: replace with:
 {{{
         if(isset($_REQUEST['s']) && ($_REQUEST['s'] !="")) {
                 $search_terms = $_REQUEST['s'];
         }
 }}}

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2116>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list