Possible further fix for #128
[mailer.git] / inc / modules / member / what-mydata.php
index e1fef3486a905b26568ddab6218e91d58b2b8cb6..7323139365042c0f846b426cd5a45c97eab6402e 100644 (file)
@@ -207,7 +207,7 @@ FROM `{!_MYSQL_PREFIX!}_user_data` WHERE userid=%s LIMIT 1",
                } else {
                        // Generate hash
                        $hash = generateHash(REQUEST_POST('pass1'), substr($DATA[1], 0, -40));
-                       if ((($hash == $DATA[1]) || (REQUEST_POST('pass1') == REQUEST_POST('pass2'))) && (REQUEST_ISSET_POST(('pass1')))) {
+                       if ((($hash == $DATA[1]) || (REQUEST_POST('pass1') == REQUEST_POST('pass2'))) && (REQUEST_ISSET_POST('pass1'))) {
                                // Only on simple changes normal mode is active = no email or password changed
                                $mode = 'normal'; $AND = '';