Skip to:
Content

BuddyPress.org

Changeset 2945


Ignore:
Timestamp:
04/21/2010 01:57:01 AM (10 years ago)
Author:
johnjamesjacoby
Message:

Fixes #2319 props rvenable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-groups/bp-groups-classes.php

    r2858 r2945  
    129129
    130130        /* Modify group count usermeta for members */
    131         $wpdb->query( $wpdb->prepare( "UPDATE {$bp->groups->table_name_groupmeta} SET meta_value = meta_value - 1 WHERE meta_key = 'total_group_count' AND user_id IN ( {$user_ids} )" ) );
     131        $wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->usermeta} SET meta_value = meta_value - 1 WHERE meta_key = 'total_group_count' AND user_id IN ( {$user_ids} )" ) );
    132132
    133133        /* Now delete all group member entries */
Note: See TracChangeset for help on using the changeset viewer.