修改函数写法兼容php5.3

This commit is contained in:
Li Jianxuan 2013-12-26 07:28:27 +00:00
parent b54c72b565
commit 9a78f04113
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ class AccountController extends Zend_Controller_Action
else{ else{
$this->_helper->viewRenderer('account-resetpassword'); $this->_helper->viewRenderer('account-resetpassword');
$this->view->salt = $salt; $this->view->salt = $salt;
if(!empty($this->_getParam('submit'))) if(!empty($submit))
{ {
$username = trim($this->_request->getParam('username')); $username = trim($this->_request->getParam('username'));
$password = trim($this->_request->getParam('password')); $password = trim($this->_request->getParam('password'));