X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_bonus.php;h=0d49bf5e94f441a8f43e16621a25bc868472fbb7;hp=f4e2160330f176d4449bf7a537accc009f009ce1;hb=155492a5b96cec674846973a8524238b0365a848;hpb=da5c63bacddced77a951cbe7b223f314885a6c87 diff --git a/inc/modules/admin/what-list_bonus.php b/inc/modules/admin/what-list_bonus.php index f4e2160330..0d49bf5e94 100644 --- a/inc/modules/admin/what-list_bonus.php +++ b/inc/modules/admin/what-list_bonus.php @@ -74,7 +74,7 @@ if (isBonusRallyeActive()) { } // END - if // Check if at least one is in the active rallye - $result = SQL_QUERY("SELECT + $result = sqlQuery("SELECT `userid`, `email`, " . $pointsColumns . " AS `points`, @@ -91,12 +91,12 @@ ORDER BY `last_online` DESC, `userid` ASC", __FILE__, __LINE__); - if (!SQL_HASZERONUMS($result)) { + if (!ifSqlHasZeroNums($result)) { // List users $OUT = ''; $count = 1; $total = '0'; - while ($content = SQL_FETCHARRAY($result)) { + while ($content = sqlFetchArray($result)) { // Add total points $total += $content['points'];