summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/IndexController.php
diff options
context:
space:
mode:
authorBjörn Geiger2011-03-24 15:05:30 +0100
committerBjörn Geiger2011-03-24 15:05:30 +0100
commitc6ca00f9b31376b3fcb9917f6be0254eaa7a981f (patch)
tree28ade87e8817faddbae309735ec004d85854dab9 /application/modules/user/controllers/IndexController.php
parentPersonController im user Module (diff)
downloadpbs2-c6ca00f9b31376b3fcb9917f6be0254eaa7a981f.tar.gz
pbs2-c6ca00f9b31376b3fcb9917f6be0254eaa7a981f.tar.xz
pbs2-c6ca00f9b31376b3fcb9917f6be0254eaa7a981f.zip
MembershipSelect nach Login
Diffstat (limited to 'application/modules/user/controllers/IndexController.php')
-rw-r--r--application/modules/user/controllers/IndexController.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/application/modules/user/controllers/IndexController.php b/application/modules/user/controllers/IndexController.php
index 74e1da7..e61f012 100644
--- a/application/modules/user/controllers/IndexController.php
+++ b/application/modules/user/controllers/IndexController.php
@@ -23,9 +23,10 @@ class User_IndexController extends Zend_Controller_Action
}
$this->view->links = $links;
- $ggMapper = new Application_Model_GroupGroupsMapper();
- print_a('Your Parent Groups', $ggMapper->getParentGroups($_SESSION['membershipID']));
- print_a('Your Child Groups',$ggMapper->getChildGroups($_SESSION['membershipID']));
+ $ggMapper = new Application_Model_GroupGroupsMapper();
+ $userIDsNamespace = Zend_Session::namespaceGet('userIDs');
+ print_a('Your Parent Groups', $ggMapper->getParentGroups($userIDsNamespace['membershipID']));
+ print_a('Your Child Groups',$ggMapper->getChildGroups($userIDsNamespace['membershipID']));
}
}