summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/PersonController.php
diff options
context:
space:
mode:
authorSimon2011-04-20 19:07:23 +0200
committerSimon2011-04-20 19:07:23 +0200
commit39d216f1091b2a0b3eb95a52580d04d342a8d912 (patch)
tree9f7805e191fc72e04e58cabe6f9edf7e608d1c5e /application/modules/user/controllers/PersonController.php
parentmerges (diff)
downloadpbs2-39d216f1091b2a0b3eb95a52580d04d342a8d912.tar.gz
pbs2-39d216f1091b2a0b3eb95a52580d04d342a8d912.tar.xz
pbs2-39d216f1091b2a0b3eb95a52580d04d342a8d912.zip
Error und Warning Unterdrückung entfernt
Diffstat (limited to 'application/modules/user/controllers/PersonController.php')
-rw-r--r--application/modules/user/controllers/PersonController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/modules/user/controllers/PersonController.php b/application/modules/user/controllers/PersonController.php
index 07a69ee..cc8a1e2 100644
--- a/application/modules/user/controllers/PersonController.php
+++ b/application/modules/user/controllers/PersonController.php
@@ -49,7 +49,7 @@ class user_PersonController extends Zend_Controller_Action
if(isset($this->memberships)) {
foreach($this->memberships as $membership) {
$group = $this->groupMapper->find($membership['groupID']);
- @list($rightroles) = $rightrolesMapper->findBy(array('rightID' => '55', 'roleID' => $membership['roleID']));
+ list($rightroles) = $rightrolesMapper->findBy(array('rightID' => '55', 'roleID' => $membership['roleID']));
$role = $roleMapper->find($membership['roleID']);
if($rightroles != null)
$this->view->apikeys[$group->getID()] = $membership['apikey'];
@@ -228,7 +228,7 @@ class user_PersonController extends Zend_Controller_Action
if($membership['groupID'] == $group->getID()) {
$groupsFound[$count] = true;
} else {
- if(@$groupsFound[$count] != true) {
+ if(isset($groupsFound[$count]) && $groupsFound[$count] != true) {
$groupsFound[$count] = false;
}
}