From ea652d0540e81a937ae07001bd0468bed3db12a6 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 26 Apr 2011 21:21:05 +0200 Subject: BugFix Person... --- application/modules/user/controllers/PersonController.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (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 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; } -- cgit v1.2.3-55-g7522