diff options
| author | Simon | 2011-04-26 21:21:05 +0200 |
|---|---|---|
| committer | Simon | 2011-04-26 21:21:05 +0200 |
| commit | ea652d0540e81a937ae07001bd0468bed3db12a6 (patch) | |
| tree | 22e8ccdacea0339c5f0e8c5ac1def276fa99b3ea | |
| parent | BugFix Person... (diff) | |
| download | pbs2-ea652d0540e81a937ae07001bd0468bed3db12a6.tar.gz pbs2-ea652d0540e81a937ae07001bd0468bed3db12a6.tar.xz pbs2-ea652d0540e81a937ae07001bd0468bed3db12a6.zip | |
BugFix Person...
| -rw-r--r-- | application/modules/user/controllers/PersonController.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/application/modules/user/controllers/PersonController.php b/application/modules/user/controllers/PersonController.php index e13e2bf..5e01049 100644 --- a/application/modules/user/controllers/PersonController.php +++ b/application/modules/user/controllers/PersonController.php @@ -186,8 +186,7 @@ class user_PersonController extends Zend_Controller_Action } else { $editForm = new user_Form_PersonEdit($_POST); if ($editForm->isValid($_POST)) { - if($this->person->getID() == $requestedUser) { - + if($this->person->getID() == $requestedUser) { $person->setOptions($_POST); $this->person->setID($this->view->person->getID()); if($_POST['newpassword'] != '') { @@ -224,7 +223,7 @@ class user_PersonController extends Zend_Controller_Action $this->view->registerForm = $registerForm; return; } - $this->_helper->redirector('owndetails', 'person'); + $this->_helper->redirector('index', 'person'); } return; } |
