]> git.mxchange.org Git - mailer.git/blobdiff - inc/reset/reset_beg.php
Some fixes for isBooleanConstantAndTrue()
[mailer.git] / inc / reset / reset_beg.php
index d4bf446968993cab5b4370f18a9f220fa6a1aaa3..ddad449cc0dcdcd4449a512738603e9e657eb763 100644 (file)
@@ -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')) || ($_CONFIG['beg_rallye'] == "Y")) return;
+if (($CSS == 1) || (!defined('__DAILY_RESET')) || ($_CONFIG['beg_rallye'] == "Y")) return;
 
 // Reset accounts
 $result = SQL_QUERY("UPDATE "._MYSQL_PREFIX."_user_data SET beg_points=0.00000 WHERE beg_points > 0",