summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/RoleController.php
diff options
context:
space:
mode:
authorSimon2011-03-28 13:32:14 +0200
committerSimon2011-03-28 13:32:14 +0200
commitcfa2f967ef68c45c396a97a651452217cda4e3df (patch)
tree15dc981ec34481986938c350e67c6d8fb6cbcc28 /application/modules/user/controllers/RoleController.php
parentUni-Farben und Footer angepasst (diff)
parentkleine Fehler korrigiert (diff)
downloadpbs2-cfa2f967ef68c45c396a97a651452217cda4e3df.tar.gz
pbs2-cfa2f967ef68c45c396a97a651452217cda4e3df.tar.xz
pbs2-cfa2f967ef68c45c396a97a651452217cda4e3df.zip
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/modules/user/controllers/RoleController.php')
-rw-r--r--application/modules/user/controllers/RoleController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/modules/user/controllers/RoleController.php b/application/modules/user/controllers/RoleController.php
index da65507..b3795de 100644
--- a/application/modules/user/controllers/RoleController.php
+++ b/application/modules/user/controllers/RoleController.php
@@ -2,15 +2,15 @@
class User_RoleController extends Zend_Controller_Action
{
- private $userIDsNamespace;
+ protected $userIDsNamespace;
public function init()
{
if (Zend_Auth::getInstance()->hasIdentity()) {
$this->userIDsNamespace = Zend_Session::namespaceGet('userIDs');
- if($this->userIDsNamespace['groupID'] ==''){
+ if($this->userIDsNamespace['roleID'] ==''){
$pbsNotifier = new Pbs_Notifier();
- echo $pbsNotifier->notify('No groupID set','forbidden');
+ echo $pbsNotifier->notify('No roleID set','forbidden');
}
$this->roleMapper = new Application_Model_RoleMapper();
$this->rightMapper = new Application_Model_RightMapper();