X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fbonus_functions.php;h=b37f45c61cbd173e657aa5d7e231da8dcc1d5b0e;hp=5a5f7f1e8a1156a5f5c714b558f0759e150d2af8;hb=49acdb7a7adbcf25a8e8683b5581bfcec72b23bd;hpb=6b1e55213d76a67e9aa3d9f1e4dcb55e0bbf12ee diff --git a/inc/libs/bonus_functions.php b/inc/libs/bonus_functions.php index 5a5f7f1e8a..b37f45c61c 100644 --- a/inc/libs/bonus_functions.php +++ b/inc/libs/bonus_functions.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2013 by Mailer Developer Team * + * Copyright (c) 2009 - 2015 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -157,7 +157,7 @@ function addBonusRanks ($data, $type, $userid) { // Load rankings $result = sqlQueryEscaped("SELECT `id` FROM `{?_MYSQL_PREFIX?}_bonus_turbo` WHERE `%s`=%s ORDER BY `level` ASC LIMIT {?bonus_lines?}", array($type, $data), __FUNCTION__, __LINE__); - if (!ifSqlHasZeroNums($result)) { + if (!ifSqlHasZeroNumRows($result)) { // Output all ranks (levels) for ($rank = 1; $rank <= sqlNumRows($result); $rank++) { // Load data