aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/actions')
-rw-r--r--mod/groups/actions/join.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/actions/join.php b/mod/groups/actions/join.php
index 1612587c8..55da1a17c 100644
--- a/mod/groups/actions/join.php
+++ b/mod/groups/actions/join.php
@@ -32,7 +32,7 @@
if (($user instanceof ElggUser) && ($group instanceof ElggGroup))
{
- if ($group->isPublicMembership())
+ if ($group->isPublicMembership() || $group->canEdit($user->guid))
{
if ($group->join($user))
{