projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9d9b43
)
Next try to fix nickname login :(
author
Roland Häder
<roland@mxchange.org>
Mon, 17 Aug 2009 17:49:27 +0000
(17:49 +0000)
committer
Roland Häder
<roland@mxchange.org>
Mon, 17 Aug 2009 17:49:27 +0000
(17:49 +0000)
inc/libs/nickname_functions.php
patch
|
blob
|
history
diff --git
a/inc/libs/nickname_functions.php
b/inc/libs/nickname_functions.php
index 5de88e52ccf5f3de317c6c7d1c1d593076316c0d..f985f5208657cbf61abf4f51bf6f0f34a0647e35 100644
(file)
--- a/
inc/libs/nickname_functions.php
+++ b/
inc/libs/nickname_functions.php
@@
-59,7
+59,7
@@
function NICKNAME_IS_ACTIVE ($uidNick) {
$result = false;
// Nickname or userid used?
- if (
($uidNick + 0
) == $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__);