]> git.mxchange.org Git - mailer.git/blobdiff - inc/wrapper-functions.php
Members can now no longer enter 'NULL' as their nickname
[mailer.git] / inc / wrapper-functions.php
index fe44a0b7d115fa89fca574cef8f9d21b802b3414..548aa6562e45c79baa2cdfb4a4375515200bc0ff 100644 (file)
@@ -559,7 +559,7 @@ function isNicknameUsed ($userid) {
        // Is the cache there
        if (!isset($GLOBALS[__FUNCTION__][$userid])) {
                // Determine it
-               $GLOBALS[__FUNCTION__][$userid] = ((!empty($userid)) && (('' . round($userid) . '') != $userid));
+               $GLOBALS[__FUNCTION__][$userid] = ((!empty($userid)) && (('' . round($userid) . '') != $userid) && ($userid != 'NULL'));
        } // END - if
 
        // Return the result