]> git.mxchange.org Git - mailer.git/commitdiff
Another try... :(
authorRoland Häder <roland@mxchange.org>
Mon, 17 Aug 2009 17:54:08 +0000 (17:54 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 17 Aug 2009 17:54:08 +0000 (17:54 +0000)
inc/libs/nickname_functions.php

index f985f5208657cbf61abf4f51bf6f0f34a0647e35..f3e258bb4a8d72065aea02cceb69e00b0dfe9c3a 100644 (file)
@@ -59,7 +59,7 @@ function NICKNAME_IS_ACTIVE ($uidNick) {
                $result = false;
 
                // Nickname or userid used?
-               if (round($uidNick) == $uidNick) {
+               if (''.round($uidNick).'' === ''.$uidNick.'') {
                        // Userid given
                        $result = SQL_QUERY_ESC("SELECT `userid`  FROM `{!_MYSQL_PREFIX!}_user_data` WHERE `userid` =%s LIMIT 1",
                                array(bigintval($uidNick)), __FUNCTION__, __LINE__);