]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-bonus.php
Global variables rewritten
[mailer.git] / inc / extensions / ext-bonus.php
index 637aef549464d80e9b50777b088597871c89c57c..ce535c248113890909afcce1d1a4ecd05f52ccf3 100644 (file)
@@ -546,7 +546,7 @@ case "test": // For testing purposes. For details see file inc/modules/admin/wha
        break;
 
 default: // Do stuff when extension is loaded
-       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 if active rallye is activated
                if (getConfig('bonus_active') == "Y") {
                        // Run active rallye