]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-bonus.php
Ticket resolved, code rewrites and caching:
[mailer.git] / inc / extensions / ext-bonus.php
index 0bcddc787e04ff58d7ff334f8e91f535fe2ab86b..8fad3e4797799f764e8e1790be16e7e250870c45 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') && (!DEBUG_MODE) && ($CSS != 1)) {
+       if (isBooleanConstantAndTrue('__DAILY_RESET') && (!isBooleanConstantAndTrue('DEBUG_MODE')) && ($CSS != 1)) {
                // Daily reset was run so let's check if active rallye is activated
                if (getConfig('bonus_active') == "Y") {
                        // Run active rallye