Skip to:
Content

BuddyPress.org

Changeset 14079


Ignore:
Timestamp:
11/03/2024 11:00:48 PM (5 months ago)
Author:
espellcaste
Message:

Fix for an incorrect change as part of [14076]

See #9173 and #9174

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/classes/class-bp-group-member-query.php

    r14077 r14079  
    102102        if ( ! $this->query_vars_raw['count'] ) {
    103103            parent::do_wp_user_query();
     104            return;
    104105        }
    105106
     
    531532        $sql = array(
    532533            'select'  => "SELECT user_id, max( date_recorded ) as date_recorded FROM {$activity_table}",
    533             'where'   => array(),
    534534            'groupby' => 'GROUP BY user_id',
    535535            'orderby' => 'ORDER BY date_recorded',
     
    561561        if ( ! $this->query_vars_raw['count'] ) {
    562562            parent::populate_extras();
     563            return;
    563564        }
    564565
Note: See TracChangeset for help on using the changeset viewer.