X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Freset%2Freset_holiday.php;h=741ebe3110a3d0d92f7ca7ba2f2e0ece6440db35;hp=bd197bfabbbdeefd5a486c70b3b75fe01884b70b;hb=5f5a73c72457ea761906640dc3d29749301102f9;hpb=c78089215285d52d483760699d07a96dfbbe0671 diff --git a/inc/reset/reset_holiday.php b/inc/reset/reset_holiday.php index bd197bfabb..741ebe3110 100644 --- a/inc/reset/reset_holiday.php +++ b/inc/reset/reset_holiday.php @@ -40,7 +40,7 @@ if (!defined('__SECURITY')) { } // Do not execute when script is in CSS mode or no daily reset -if (($GLOBALS['output_mode'] == 1) || ((!defined('__DAILY_RESET')) && (getConfig('holiday_mode') == "RESET"))) return; +if (($GLOBALS['output_mode'] == 1) || ((!isResetModeEnabled()) && (getConfig('holiday_mode') == "RESET"))) return; //* DEBUG: */ echo basename(__FILE__)."
\n"; // Check for holidays we need to enable and send email to user