X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmonthly%2Fmonthly_bonus.php;h=e425c8f1ac13216546df38cbb03bcb52fee7c6e9;hp=689b1462a47fe90e9812c0d406a9f486fbf63219;hb=52e8a0635bd0b7c653845685c55e4e5f251375fe;hpb=75232d02c99a0b3c7df9e6f8f665995af8651552 diff --git a/inc/monthly/monthly_bonus.php b/inc/monthly/monthly_bonus.php index 689b1462a4..e425c8f1ac 100644 --- a/inc/monthly/monthly_bonus.php +++ b/inc/monthly/monthly_bonus.php @@ -129,7 +129,7 @@ SET turbo_bonus=0, login_bonus=0, bonus_order=0, bonus_stats=0, bonus_ref=0", __ // Finally update database and config array $_CONFIG['bonus_month'] = $curr; - $result_update = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_config SET last_bonus_month='%s' WHERE config='0' LIMIT 1", + $result_update = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_config SET last_bonus_month='%s' WHERE config=0 LIMIT 1", array($curr), __FILE__, __LINE__); // Destroy cache