- Timestamp:
- 04/25/2019 02:53:02 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/groups/functions.php
r12156 r12383 259 259 } 260 260 261 // Check the current user's access to the group. 262 $group = groups_get_group( $r['group_id'] ); 263 if ( ! $group->user_has_access && ! bp_current_user_can( 'bp_moderate' ) ) { 264 return false; 265 } 266 261 267 /* 262 268 * If it's not a friend request and users can restrict invites to friends,
Note: See TracChangeset
for help on using the changeset viewer.