more in naming convention applied, you should better kill inc/cache/*.cache files...
[mailer.git] / inc / monthly / monthly_bonus.php
index 689b1462a47fe90e9812c0d406a9f486fbf63219..e425c8f1ac13216546df38cbb03bcb52fee7c6e9 100644 (file)
@@ -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