Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/07/2010 12:20:02 AM (16 years ago)
Author:
djpaul
Message:

Fixes even more WP_DEBUG warnings.

File:
1 edited

Legend:

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

    r3368 r3369  
    238238                global $wpdb, $bp;
    239239
     240                $pag_sql = '';
    240241                if ( $limit && $page )
    241242                        $pag_sql = $wpdb->prepare( " LIMIT %d, %d", intval( ( $page - 1 ) * $limit), intval( $limit ) );
     
    267268                 * We can't add these to the main query above since only users who have this information will be returned (since the much of the data is in usermeta and won't support any type of directional join)
    268269                 */
     270                $user_ids = array();
    269271                foreach ( (array)$paged_users as $user )
    270272                        $user_ids[] = $user->id;
Note: See TracChangeset for help on using the changeset viewer.