Skip to:
Content

BuddyPress.org

Changeset 4932


Ignore:
Timestamp:
08/05/2011 09:33:31 PM (12 years ago)
Author:
djpaul
Message:

Fix group auto join when posting on forums. See #3442

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums/bp-forums-screens.php

    r4846 r4932  
    2727                // Auto join this user if they are not yet a member of this group
    2828                if ( !is_super_admin() && 'public' == $bp->groups->current_group->status && !groups_is_user_member( $bp->loggedin_user->id, $bp->groups->current_group->id ) )
    29                     groups_join_group( $bp->groups->current_group->id, $bp->groups->current_group->id );
     29                    groups_join_group( $bp->groups->current_group->id );
    3030
    3131                $error_message = '';
Note: See TracChangeset for help on using the changeset viewer.