Heavy rewrite:
[mailer.git] / inc / modules / sponsor / account.php
index 7a3ada0af41aac8ee8c5a34946f17c8d173c06fd..078d7f6e1f8dcb3322255551950213d3dd8e60bb 100644 (file)
@@ -65,7 +65,7 @@ if (SQL_NUMROWS($result) == 1) {
                // Check if form was submitted or not
                if (isFormSent()) {
                        // Check passwords
-                       if (!REQUEST_ISSET_POST(('pass_old'))) {
+                       if (!REQUEST_ISSET_POST('pass_old')) {
                                // No current password entered
                                $message = getMessage('SPONSOR_NO_CURRENT_PASSWORD_ENTERED');
                        } elseif (md5(REQUEST_POST('pass_old')) != getSession('sponsorpass')) {