X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fuser_functions.php;h=029ab472ff5fbdb2c3f837c63051bc233ed405b2;hp=601ca42eb0d702991a8771d7b531677ebf809569;hb=0f3a135204757cc8750262871c8e62c42300acb4;hpb=57aba9aa64d68803d361e60ffb09766ca770ef9f diff --git a/inc/libs/user_functions.php b/inc/libs/user_functions.php index 601ca42eb0..029ab472ff 100644 --- a/inc/libs/user_functions.php +++ b/inc/libs/user_functions.php @@ -527,7 +527,7 @@ function insertUserStatsRecord ($userid, $statsType, $statsData) { // Does it exist? if ((!getEpocheTimeFromUserStats($statsType, $statsData, $userid)) && (!is_array($statsData))) { // Then insert it! - SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_stats_data` (`userid`, `stats_type`, `stats_data`) VALUES (%s,'%s','%s')", + SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_stats_data` (`userid`,`stats_type`,`stats_data`) VALUES (%s,'%s','%s')", array( bigintval($userid), $statsType, @@ -551,7 +551,7 @@ function doConfirmUserAccount ($hash) { $userid = NULL; // Search for an unconfirmed or confirmed account - $result = SQL_QUERY_ESC("SELECT `userid`, `refid` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `user_hash`='%s' AND (`status`='UNCONFIRMED' OR `status`='CONFIRMED') LIMIT 1", + $result = SQL_QUERY_ESC("SELECT `userid`,`refid` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `user_hash`='%s' AND (`status`='UNCONFIRMED' OR `status`='CONFIRMED') LIMIT 1", array($hash), __FILE__, __LINE__); if (SQL_NUMROWS($result) == 1) { // Ok, he want's to confirm now so we load some data @@ -745,7 +745,7 @@ function doExpressionUser ($data) { } // Template call-back function for list_user admin function -function doTemplateAdminListUserTitle ($template, $dummy = false) { +function doTemplateAdminListUserTitle ($template, $clear = false) { // Init title with "all accounts" $code = '{--ADMIN_LIST_ALL_ACCOUNTS--}';