aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions/edit.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-07 10:12:20 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-07 10:12:20 +0000
commit9dc03345ffe6eebb60f7e0a69539f21c52048dd6 (patch)
treeda6fede5185bd56474a5099d9b20b98a9312286e /mod/groups/actions/edit.php
parent731660adbc2702f4566f8b5d106e01ccd722ab1c (diff)
downloadelgg-9dc03345ffe6eebb60f7e0a69539f21c52048dd6.tar.gz
elgg-9dc03345ffe6eebb60f7e0a69539f21c52048dd6.tar.bz2
Closes #120
git-svn-id: https://code.elgg.org/elgg/trunk@1306 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/actions/edit.php')
-rw-r--r--mod/groups/actions/edit.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/mod/groups/actions/edit.php b/mod/groups/actions/edit.php
index b5502115b..7965625e8 100644
--- a/mod/groups/actions/edit.php
+++ b/mod/groups/actions/edit.php
@@ -54,6 +54,15 @@
exit;
}
+ // Group membership
+ switch (get_input('membership'))
+ {
+ case 0: $group->membership = 0;
+ case 1 :$group->membership = 1; break;
+ case 2:
+ default: $group->membership = 2;
+ }
+
// Get access
$group->access_id = get_input('access_id', 0);