diff --git a/application/default/controllers/AccountController.php b/application/default/controllers/AccountController.php index 264f86ab..72e52f23 100755 --- a/application/default/controllers/AccountController.php +++ b/application/default/controllers/AccountController.php @@ -420,7 +420,7 @@ class AccountController extends Zend_Controller_Action else{ $this->_helper->viewRenderer('account-resetpassword'); $this->view->salt = $salt; - if(!empty($this->_getParam('submit'))) + if(!empty($submit)) { $username = trim($this->_request->getParam('username')); $password = trim($this->_request->getParam('password'));