]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-nickname.php
Old config.php is now automatically updated to new config-local.php format, several...
[mailer.git] / inc / modules / member / what-nickname.php
index 0895810e901f86500772b1a05a0ddb4619c32324..d8b505d5354ee06b93ea8201deee8f084f82a518 100644 (file)
@@ -66,11 +66,11 @@ if (IS_FORM_SENT()) {
 if ($isValid === true) {
        // Look for nickname in database (we only need just one entry so don't worry about the "LIMIT 1" !
        $result = SQL_QUERY_ESC("SELECT userid FROM `{!_MYSQL_PREFIX!}_user_data` WHERE nickname='%s' AND userid != '%s' LIMIT 1",
-               array(REQUEST_POST('nickname'), getUserId()), __FILE__, __LINE__);
+       array(REQUEST_POST('nickname'), getUserId()), __FILE__, __LINE__);
        if (SQL_NUMROWS($result) == 0) {
                // Nickname not in use, so set it now
                SQL_QUERY_ESC("UPDATE `{!_MYSQL_PREFIX!}_user_data` SET nickname='%s' WHERE userid=%s LIMIT 1",
-                       array(REQUEST_POST('nickname'), getUserId()), __FILE__, __LINE__);
+               array(REQUEST_POST('nickname'), getUserId()), __FILE__, __LINE__);
                $content = getMessage('NICKNAME_SAVED');
        } else {
                // Free result