aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-19 15:23:25 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-19 15:23:25 +0000
commitef8362aa649f5e8c271868798c15d721ccc5199b (patch)
treebf599f68be06e9aad03ab75151c5814b0b9d3fa1 /mod
parent2037fc54b25cca2fef3ec24e33be01924fcfb555 (diff)
downloadelgg-ef8362aa649f5e8c271868798c15d721ccc5199b.tar.gz
elgg-ef8362aa649f5e8c271868798c15d721ccc5199b.tar.bz2
Ref #2294 - group creation action also needs page owner set
git-svn-id: http://code.elgg.org/elgg/trunk@6524 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-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);
}