aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions/join.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/actions/join.php')
-rw-r--r--mod/groups/actions/join.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/groups/actions/join.php b/mod/groups/actions/join.php
index 423f108fd..1612587c8 100644
--- a/mod/groups/actions/join.php
+++ b/mod/groups/actions/join.php
@@ -28,6 +28,8 @@
$user = get_entity($user_guid);
$group = get_entity($group_guid);
+ set_page_owner($group->guid);
+
if (($user instanceof ElggUser) && ($group instanceof ElggGroup))
{
if ($group->isPublicMembership())