From: Steve Winton Date: Thu, 11 Jun 2009 14:32:16 +0000 (+0100) Subject: Added hidden input to showRecoverForm() so form can be submitted without error in... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0adaaa1b9de61eaa8f7e4c622cda27fb634b53a5;p=quix0rs-gnu-social.git Added hidden input to showRecoverForm() so form can be submitted without error in IE by pressing --- diff --git a/actions/recoverpassword.php b/actions/recoverpassword.php old mode 100644 new mode 100755 index 2afd052a78..721edea7f4 --- 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');