'2','3','4','5','6','7','8','9'
);
- if (isBooleanConstantAndTrue('__DAILY_RESET') && (!isBooleanConstantAndTrue('DEBUG_MODE')) && ($CSS != 1)) {
+ if (isBooleanConstantAndTrue('__DAILY_RESET') && (!isBooleanConstantAndTrue('DEBUG_MODE')) && ($GLOBALS['output_mode'] != 1)) {
// Daily reset was run so let's check out for expired newsletter orders
$INC_POOL[] = sprintf("%sinc/monthly/monthly_newsletter.php", constant('PATH'));
}