aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/actions/edit.php')
-rw-r--r--mod/groups/actions/edit.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/groups/actions/edit.php b/mod/groups/actions/edit.php
index 56ab914a7..606c00ba7 100644
--- a/mod/groups/actions/edit.php
+++ b/mod/groups/actions/edit.php
@@ -94,6 +94,7 @@ $group->save();
// group creator needs to be member of new group and river entry created
if ($new_group_flag) {
+ set_page_owner($group->guid);
$group->join($user);
add_to_river('river/group/create','create',$user->guid,$group->guid);
}