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