修改函数写法
This commit is contained in:
parent
e8aba81d7d
commit
b54c72b565
|
@ -383,11 +383,12 @@ class AccountController extends Zend_Controller_Action
|
|||
public function fetchpwdAction()
|
||||
{
|
||||
$salt = trim($this->_getParam('salt'));
|
||||
|
||||
$submit = $this->_getParam('submit');
|
||||
if(empty($salt))
|
||||
{
|
||||
$captcha = new Captcha();
|
||||
if(!empty($this->_getParam('submit')))
|
||||
|
||||
if(!empty($submit))
|
||||
{
|
||||
$email = trim($this->_request->getParam('email'));
|
||||
$captchaword = trim($this->_request->getParam('captcha'));
|
||||
|
|
Loading…
Reference in New Issue