From 93a74d9689a4bf322217cda646e5b51788cf1c99 Mon Sep 17 00:00:00 2001 From: michael pereira Date: Tue, 26 Apr 2011 20:42:10 +0200 Subject: person --- application/modules/user/controllers/PersonController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/modules/user/controllers/PersonController.php') diff --git a/application/modules/user/controllers/PersonController.php b/application/modules/user/controllers/PersonController.php index 4a68985..008f015 100644 --- a/application/modules/user/controllers/PersonController.php +++ b/application/modules/user/controllers/PersonController.php @@ -151,7 +151,7 @@ class user_PersonController extends Zend_Controller_Action if(!Pbs_Acl::checkRight('peod')) { $this->_redirect('/user'); } - if($this->person->getID() != $this->_request->getParam('personID')) { + if($this->person->getID() == $this->_request->getParam('personID')) { if(!Pbs_Acl::checkRight('peoa')) { $this->_redirect('/user'); } -- cgit v1.2.3-55-g7522