Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/19/2010 09:45:11 AM (15 years ago)
Author:
apeatling
Message:

Setting a specific value for user_status spam check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-core.php

    r2854 r2855  
    18751875    $user = get_userdatabylogin( $username );
    18761876
    1877     if ( ( bp_core_is_multisite() && (int)$user->spam ) || (int)$user->user_status )
     1877    if ( ( bp_core_is_multisite() && (int)$user->spam ) || 1 == (int)$user->user_status )
    18781878        bp_core_redirect( $bp->root_domain );
    18791879    else
Note: See TracChangeset for help on using the changeset viewer.