]> git.mxchange.org Git - mailer.git/blobdiff - inc/wrapper-functions.php
Countless fixes, ext-grade started:
[mailer.git] / inc / wrapper-functions.php
index eb9419c94e5f07279ce1377e9ab169636f293b3f..8a4387f00be239a9611c964f853e51b24784c536 100644 (file)
@@ -554,7 +554,7 @@ function isNicknameUsed ($userid) {
        // Is the cache there
        if (!isset($GLOBALS[__FUNCTION__][$userid])) {
                // Determine it
-               $GLOBALS[__FUNCTION__][$userid] = (('' . round($userid) . '') != $userid);
+               $GLOBALS[__FUNCTION__][$userid] = ((!empty($userid)) && (('' . round($userid) . '') != $userid));
        } // END - if
 
        // Return the result