aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}