]> git.mxchange.org Git - mailer.git/blobdiff - inc/reset/reset_holiday.php
Fix for the fix... ;)
[mailer.git] / inc / reset / reset_holiday.php
index 3a2256fa24dc4590e3dfedb5a42775bbc7ab7216..5d599857b33774073d1bc37a7421b96f5a780416 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['holiday_mode'] == "RESET"))) return;
+if (($CSS == 1) || ((!defined('__DAILY_RESET')) && ($_CONFIG['holiday_mode'] == "RESET"))) return;
 
 // Check for holidays we need to enable and send email to user
 $result_main = SQL_QUERY("SELECT userid, holiday_activated FROM "._MYSQL_PREFIX."_user_data