- Timestamp:
- 08/12/2019 08:45:34 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/groups/functions.php
r12405 r12439 267 267 268 268 // Check the current user's access to the group. 269 $group = groups_get_group( $r['group_id'] ); 270 if ( ! $group->user_has_access && ! bp_current_user_can( 'bp_moderate' ) ) { 269 if ( ! bp_groups_user_can_send_invites( $r['group_id'] ) ) { 271 270 return false; 272 271 }
Note: See TracChangeset
for help on using the changeset viewer.