Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/24/2011 02:59:11 AM (13 years ago)
Author:
boonebgorges
Message:

Ensures that bp_groups_auto_join() defaults to false; switches global check with bp_groups_auto_join() check. See #3610. Props r-a-y

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-loader.php

    r5052 r5183  
    216216
    217217        // Auto join group when non group member performs group activity
    218         $this->auto_join = defined( 'BP_DISABLE_AUTO_GROUP_JOIN' );
     218        $this->auto_join = defined( 'BP_DISABLE_AUTO_GROUP_JOIN' ) && BP_DISABLE_AUTO_GROUP_JOIN ? false : true;
    219219    }
    220220
Note: See TracChangeset for help on using the changeset viewer.