Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/16/2011 08:08:45 PM (15 years ago)
Author:
boonebgorges
Message:

Adds toggle for who can send group invitations, in order to make the option more consistent and configurable throughout BP. Fixes #2005. Props DJPaul for help cleaning up the patches.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/_inc/ajax.php

    r4469 r4524  
    354354                return false;
    355355
    356         if ( !groups_is_user_admin( $bp->loggedin_user->id, $_POST['group_id'] ) )
     356        if ( !bp_groups_user_can_send_invites( $_POST['group_id'] ) )
    357357                return false;
    358358
Note: See TracChangeset for help on using the changeset viewer.