X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmonthly%2Fmonthly_bonus.php;h=49c02b348b71bf75dbb4635bc68e67f979994eb6;hb=b7aada7890a3c7d1c1da4d2b36d8d7683fa61c06;hp=c4c7e8d0c791b96c9da28ebbe56dc41b1f8b061f;hpb=ce00488222ee7d5d7559ccfdab86cb59694a681c;p=mailer.git diff --git a/inc/monthly/monthly_bonus.php b/inc/monthly/monthly_bonus.php index c4c7e8d0c7..49c02b348b 100644 --- a/inc/monthly/monthly_bonus.php +++ b/inc/monthly/monthly_bonus.php @@ -49,7 +49,7 @@ $curr = date("m", time()); if (($curr != getConfig('last_month')) && (getConfig('bonus_ranks') > 0) && ($GLOBALS['output_mode'] != 1)) { // Extension "autopurge" is inactive or purging of inactive accounts is deactivated $whereStatement1 = "WHERE `status`='CONFIRMED'"; - $whereStatement2 = bigintval(getConfig('bonus_ranks')); + $whereStatement2 = getConfig(('bonus_ranks')); // Shall I keep inactive members away from here? (mostly wanted in an "active-rallye" ...) if (EXT_IS_ACTIVE("autopurge")) { @@ -57,7 +57,7 @@ if (($curr != getConfig('last_month')) && (getConfig('bonus_ranks') > 0) && ($GL if (getConfig('ap_inactive_since') > 0) { // Okay, include last online timestamp $whereStatement1 = sprintf("WHERE `status`='CONFIRMED' AND last_online >= (UNIX_TIMESTAMP() - %s)", getConfig('ap_inactive_since')); - $whereStatement2 = bigintval(getConfig('bonus_ranks')); + $whereStatement2 = getConfig(('bonus_ranks')); } // END - if } // END - if