From: Roland Häder Date: Mon, 17 Aug 2009 18:04:21 +0000 (+0000) Subject: Variable from (blind) code move fixed X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=733cdb9b316d1f8f15fae2c95267b8de369f08d7 Variable from (blind) code move fixed --- diff --git a/inc/libs/nickname_functions.php b/inc/libs/nickname_functions.php index c776c5fb50..550d76005f 100644 --- a/inc/libs/nickname_functions.php +++ b/inc/libs/nickname_functions.php @@ -86,14 +86,14 @@ function NICKNAME_GET_NICK ($userid) { $result = false; // Nickname or userid used? - if (''.round($uidNick).'' === ''.$uidNick.'') { + if (''.round($userid).'' === ''.$userid.'') { // Userid given $result = SQL_QUERY_ESC("SELECT `userid` FROM `{!_MYSQL_PREFIX!}_user_data` WHERE `userid` =%s LIMIT 1", - array(bigintval($uidNick)), __FUNCTION__, __LINE__); + array(bigintval($userid)), __FUNCTION__, __LINE__); } else { // Nickname given $result = SQL_QUERY_ESC("SELECT `userid` FROM `{!_MYSQL_PREFIX!}_user_data` WHERE `nickname`='%s' LIMIT 1", - array($uidNick), __FUNCTION__, __LINE__); + array($userid), __FUNCTION__, __LINE__); } // Found?