aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/actions')
-rw-r--r--mod/groups/actions/edit.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/groups/actions/edit.php b/mod/groups/actions/edit.php
index 361f81757..bc2530111 100644
--- a/mod/groups/actions/edit.php
+++ b/mod/groups/actions/edit.php
@@ -90,7 +90,9 @@ if (isset($CONFIG->group_tool_options)) {
}
}
-$group->save();
+if($group->save()){
+ add_to_river('river/group/create','create',$user->guid,$group->guid);
+}
// group creator needs to be member of new group
if ($new_group_flag) {