From 0adaaa1b9de61eaa8f7e4c622cda27fb634b53a5 Mon Sep 17 00:00:00 2001 From: Steve Winton Date: Thu, 11 Jun 2009 15:32:16 +0100 Subject: [PATCH] Added hidden input to showRecoverForm() so form can be submitted without error in IE by pressing --- actions/recoverpassword.php | 3 +++ 1 file changed, 3 insertions(+) mode change 100644 => 100755 actions/recoverpassword.php 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');