]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-profile.php
Global variables rewritten
[mailer.git] / inc / extensions / ext-profile.php
index 6d2805798f267b9aae44a37a4be9c110eb1f92fa..d9fe6f61a731fbb99c295f9e3fddc9c0465aa6c5 100644 (file)
@@ -123,7 +123,7 @@ case "test": // For testing purposes. For details see file inc/modules/admin/wha
 
 default: // Do stuff when extension is loaded
        // Do we have a daily-reset-run?
-       if (isBooleanConstantAndTrue('__DAILY_RESET') && (!isBooleanConstantAndTrue('DEBUG_MODE')) && ($CSS != 1)) {
+       if (isBooleanConstantAndTrue('__DAILY_RESET') && (!isBooleanConstantAndTrue('DEBUG_MODE')) && ($GLOBALS['output_mode'] != 1)) {
                // So let's check for profiles which needs an update
                $INC_POOL[] = sprintf("%sinc/profile-updte.php", constant('PATH'));
        }