Changeset 3092
- Timestamp:
- 06/27/2010 06:40:48 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-core/bp-core-templatetags.php
r3087 r3092 124 124 $search_terms = false; 125 125 126 / * User filtering */126 // User filtering 127 127 if ( !empty( $bp->displayed_user->id ) ) 128 128 $user_id = $bp->displayed_user->id; 129 129 130 / * Pass a filter if ?s= is set. */131 if ( $_REQUEST['s'])130 // Pass a filter if ?s= is set. 131 if ( isset( $_REQUEST['s'] ) && !empty( $_REQUEST['s'] ) ) 132 132 $search_terms = $_REQUEST['s']; 133 133 … … 155 155 } 156 156 157 / * Make sure we return no members if we looking at friendship requests and there are none. */157 // Make sure we return no members if we looking at friendship requests and there are none. 158 158 if ( empty( $include ) && $bp->friends->slug == $bp->current_component && 'requests' == $bp->current_action ) 159 159 return false;
Note: See TracChangeset
for help on using the changeset viewer.