Skip to:
Content

BuddyPress.org

Ticket #5075: 5075.diff

File 5075.diff, 633 bytes (added by imath, 12 years ago)
  • bp-groups/bp-groups-classes.php

     
    10261026
    10271027                /** WHERE clauses *****************************************************/
    10281028
    1029                 $sql['where'][] = $wpdb->prepare( "group_id = %d", $this->query_vars['group_id'] );
     1029                $sql['where'][] = $wpdb->prepare( "group_id = %d  AND is_confirmed = 1", $this->query_vars['group_id'] );
    10301030
    10311031                // Role information is stored as follows: admins have
    10321032                // is_admin = 1, mods have is_mod = 1, banned have is_banned =