diff --git src/bp-groups/classes/class-bp-groups-member.php src/bp-groups/classes/class-bp-groups-member.php
index 06a0705..cbebf75 100644
|
|
class BP_Groups_Member { |
733 | 733 | |
734 | 734 | $bp = buddypress(); |
735 | 735 | |
736 | | return $wpdb->query( $wpdb->prepare( "DELETE FROM {$bp->groups->table_name_members} WHERE user_id = %d AND group_id = %d AND is_confirmed = 0 AND inviter_id != 0 AND invite_sent = 1", $user_id, $group_id ) ); |
| 736 | return $wpdb->query( $wpdb->prepare( "DELETE FROM {$bp->groups->table_name_members} WHERE user_id = %d AND group_id = %d AND is_confirmed = 0 AND inviter_id != 0", $user_id, $group_id ) ); |
737 | 737 | } |
738 | 738 | |
739 | 739 | /** |