From f86b5fdf8e8ff6374c64c62792ac73bd787dc765 Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 13 Apr 2011 17:32:53 +0200 Subject: Superordinated Group ist immer die aktuelle Gruppe --- application/modules/user/controllers/GroupController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'application/modules/user/controllers/GroupController.php') diff --git a/application/modules/user/controllers/GroupController.php b/application/modules/user/controllers/GroupController.php index b66f368..0502a34 100644 --- a/application/modules/user/controllers/GroupController.php +++ b/application/modules/user/controllers/GroupController.php @@ -149,7 +149,8 @@ class User_GroupController extends Zend_Controller_Action } if($_POST['superordinatedGroupID'] != -1) { $groupgroups = new Application_Model_GroupGroups(); - $groupgroups->setParentID($_POST['superordinatedGroupID']); + #print_a($this->membership->getGroupID(),$this->membership); + $groupgroups->setParentID($this->membership->getGroupID()); $groupgroups->setGroupID($groupID); try { $this->groupGroupsMapper->save($groupgroups); -- cgit v1.2.3-55-g7522