Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/08/2011 03:24:59 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Fix issue where unmarking a user as spam in multisite did not work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-actions.php

    r4824 r4944  
    6161        // Finally, mark this user as a spammer
    6262        if ( is_multisite() )
    63             update_user_status( $bp->displayed_user->id, 'spam', 1 );
     63            update_user_status( $bp->displayed_user->id, 'spam', $is_spam );
    6464
    6565        $wpdb->update( $wpdb->users, array( 'user_status' => $is_spam ), array( 'ID' => $bp->displayed_user->id ) );
Note: See TracChangeset for help on using the changeset viewer.