Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/11/2012 05:38:50 PM (12 years ago)
Author:
boonebgorges
Message:

Pinking shears in Core component

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-classes.php

    r6015 r6022  
    275275                    $uids = $wpdb->escape( $include );
    276276                }
    277    
     277
    278278                if ( !empty( $uids ) ) {
    279279                    $sql['where_users'] = "AND u.ID IN ({$uids})";
     
    282282                $friend_ids = friends_get_friend_user_ids( $user_id );
    283283                $friend_ids = $wpdb->escape( implode( ',', (array) $friend_ids ) );
    284    
     284
    285285                if ( !empty( $friend_ids ) ) {
    286286                    $sql['where_friends'] = "AND u.ID IN ({$friend_ids})";
    287    
     287
    288288                // User has no friends, return false since there will be no users to fetch.
    289289                } else {
Note: See TracChangeset for help on using the changeset viewer.