]> git.mxchange.org Git - mailer.git/blobdiff - inc/reset/reset_holiday.php
Nickname login should work now
[mailer.git] / inc / reset / reset_holiday.php
index c68de78391ea255a2ff13b5ba0befe0aede69141..d61b400649120891095ea72f72d9bcba4cb91981 100644 (file)
@@ -45,7 +45,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Do not execute when script is in CSS mode or no daily reset
-if (($GLOBALS['output_mode'] == 1) || ((!isResetModeEnabled()) && (getConfig('holiday_mode') == "RESET"))) return;
+if ((getOutputMode() == 1) || ((!isResetModeEnabled()) && (getConfig('holiday_mode') == 'RESET'))) return;
 //* DEBUG: */ echo basename(__FILE__)."<br />\n";
 
 // Check for holidays we need to enable and send email to user