diff options
Diffstat (limited to 'mod/groups/actions')
-rw-r--r-- | mod/groups/actions/addtogroup.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/groups/actions/addtogroup.php b/mod/groups/actions/addtogroup.php index 2cf242102..625e2f3c9 100644 --- a/mod/groups/actions/addtogroup.php +++ b/mod/groups/actions/addtogroup.php @@ -29,7 +29,8 @@ if ( $user && $group) { - if (get_loggedin_userid() == $group->owner_guid) + //if (get_loggedin_userid() == $group->owner_guid) + if ($group->canEdit()) { // If the group is open or the user has requested membership |