summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/IndexController.php
diff options
context:
space:
mode:
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']));
}
}