修改函数写法兼容php5.3
This commit is contained in:
parent
b54c72b565
commit
9a78f04113
|
@ -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'));
|
||||
|
|
Loading…
Reference in New Issue