Fixed bug #13506: Function changePassword does not work, when hitting enter in change...
authorChristian Kuhn <lolli@schwarzbu.ch>
Wed, 2 Jun 2010 21:40:25 +0000 (21:40 +0000)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 2 Jun 2010 21:40:25 +0000 (21:40 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7797 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php

index 844f8b7..be02127 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-06-02  Christian Kuhn  <lolli@schwarzbu.ch>
+
+       * Fixed bug #13506: Function changePassword does not work, when hitting 'enter' in change password form (Thanks to Christian Futterlieb)
+
 2010-05-31  Oliver Hader  <oliver@typo3.org>
 
        * Release of TYPO3 4.4.0beta3
index c882e5b..cd1eebb 100644 (file)
@@ -269,7 +269,7 @@ class tx_felogin_pi1 extends tslib_pibase {
                                        // all is fine, continue with new password
                                $postData = t3lib_div::_POST($this->prefixId);
 
-                               if ($postData['changepasswordsubmit']) {
+                               if (isset($postData['changepasswordsubmit'])) {
                                        if (strlen($postData['password1']) < $minLength) {
                                                $markerArray['###STATUS_MESSAGE###'] = sprintf($this->getDisplayText('change_password_tooshort_message', $this->conf['changePasswordMessage_stdWrap.']), $minLength);
                                        } elseif ($postData['password1'] != $postData['password2']) {