aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions/addtogroup.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/actions/addtogroup.php')
-rw-r--r--mod/groups/actions/addtogroup.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/groups/actions/addtogroup.php b/mod/groups/actions/addtogroup.php
index 0b99ea917..4ebb4eee0 100644
--- a/mod/groups/actions/addtogroup.php
+++ b/mod/groups/actions/addtogroup.php
@@ -29,6 +29,8 @@
$user = get_entity($u_id);
$group = get_entity($group_guid);
+ set_page_owner($group->guid);
+
if ( $user && $group) {
//if (get_loggedin_userid() == $group->owner_guid)