Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/22/2009 05:06:04 PM (15 years ago)
Author:
apeatling
Message:

Fixes #1223 props DJPaul

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1/bp-friends/bp-friends-classes.php

    r2047 r2052  
    150150            $user_id = $bp->loggedin_user->id;
    151151       
    152         like_escape( $wpdb->escape( $filter ) );
     152        $filter = like_escape( $wpdb->escape( $filter ) );
    153153       
    154154        if ( $limit && $page )
     
    222222        global $wpdb, $bp;
    223223       
    224         like_escape( $wpdb->escape( $filter ) );
     224        $filter = like_escape( $wpdb->escape( $filter ) );
    225225        $usermeta_table = $wpdb->base_prefix . 'usermeta';
    226226        $users_table = $wpdb->base_prefix . 'users';
     
    247247        global $wpdb, $bp;
    248248       
    249         like_escape( $wpdb->escape( $filter ) );
     249        $filter = like_escape( $wpdb->escape( $filter ) );
    250250        $usermeta_table = $wpdb->prefix . 'usermeta';
    251251        $users_table = $wpdb->base_prefix . 'users';
Note: See TracChangeset for help on using the changeset viewer.