diff options
author | Steve Winton <stevewinton@gmail.com> | 2009-06-11 15:32:16 +0100 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-07-21 16:40:51 -0400 |
commit | 0adaaa1b9de61eaa8f7e4c622cda27fb634b53a5 (patch) | |
tree | 406c8f3a64e36a1cec044404dac9f3bc5edb5bda | |
parent | 185d08282b5df141d38a88604b7d8cab00ce0cfd (diff) |
Added hidden input to showRecoverForm() so form can be submitted without error in IE by pressing <return>
-rwxr-xr-x[-rw-r--r--] | actions/recoverpassword.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/actions/recoverpassword.php b/actions/recoverpassword.php index 2afd052a7..721edea7f 100644..100755 --- a/actions/recoverpassword.php +++ b/actions/recoverpassword.php @@ -194,6 +194,9 @@ class RecoverpasswordAction extends Action 'or your registered email address.')); $this->elementEnd('li'); $this->elementEnd('ul'); + $this->element('input', array('name' => 'recover', + 'type' => 'hidden', + 'value' => _('Recover'))); $this->submit('recover', _('Recover')); $this->elementEnd('fieldset'); $this->elementEnd('form'); |