X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Freset%2Freset_bonus.php;h=d0a57bf66bd104e9f5093b8a67027bdd0ee5c250;hp=f4e42eb44028a977c65d76b75cc63c25a1b2b2b8;hb=ca7455674c0f02d34cbfc22a823393ba629a5160;hpb=963e55ca1ea79e255f235e359cde9f7862191dc5 diff --git a/inc/reset/reset_bonus.php b/inc/reset/reset_bonus.php index f4e42eb440..d0a57bf66b 100644 --- a/inc/reset/reset_bonus.php +++ b/inc/reset/reset_bonus.php @@ -41,7 +41,7 @@ if (!defined('__SECURITY')) { } // Do not execute when script is in CSS mode or no daily reset -if (($CSS == 1) || (!isBooleanConstantAndTrue('__DAILY_RESET'))) return; +if (($CSS == 1) || (!defined('__DAILY_RESET'))) return; // Reset accounts $result = SQL_QUERY("UPDATE "._MYSQL_PREFIX."_user_data SET turbo_bonus=0, login_bonus=0, bonus_order=0, bonus_stats=0, bonus_ref=0",