X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fbonus_functions.php;h=e6d3f69dd59e756881d2773af51a09296378bfca;hp=14041197537088410364f5bdf19f86569af48595;hb=62c27b6be1b4edfe53d60b54c06621dbc7b30686;hpb=b3f82be7e5ecc294acfe9c00ef75e3dc0c8b43d1 diff --git a/inc/libs/bonus_functions.php b/inc/libs/bonus_functions.php index 1404119753..e6d3f69dd5 100644 --- a/inc/libs/bonus_functions.php +++ b/inc/libs/bonus_functions.php @@ -74,7 +74,7 @@ function BONUS_ADD_TURBO_POINTS($mid, $uid, $type) else { // Anything else so let's explode all entered rank points - $test = explode(";", $_CONFIG['bonus_ranks']); + $test = explode(";", $_CONFIG['turbo_rates']); if (!empty($test[$rank - 2])) { // Level found @@ -104,7 +104,7 @@ function BONUS_MAKE_RANK_ROWS($data, $type, $uid) $self = false; $OUT = ""; // How many ranks do we have? - $ranks = sizeof(explode(";", $_CONFIG['bonus_ranks'])) + 1; + $ranks = sizeof(explode(";", $_CONFIG['turbo_rates'])) + 1; // Load current user's data $result = SQL_QUERY_ESC("SELECT level, points, timemark FROM "._MYSQL_PREFIX."_bonus_turbo WHERE %s=%s AND userid=%s LIMIT 1",