]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-newsletter.php
Fix for 'array-to-string-conversion' bug in request-functions.php
[mailer.git] / inc / extensions / ext-newsletter.php
index d1cfa7c924df1addd0b28e1ecc757b095d92d1f3..e53a041f1a4dd639a5c2a7bdc34f7bb46bf83499 100644 (file)
@@ -142,6 +142,9 @@ case "update": // Update an extension
        }
        break;
 
+case "modify": // When the extension got modified
+       break;
+
 case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
        break;
 
@@ -164,7 +167,7 @@ default: // Do stuff when extension is loaded
                '2','3','4','5','6','7','8','9'
        );
 
-       if (isBooleanConstantAndTrue('__DAILY_RESET') && (!isBooleanConstantAndTrue('DEBUG_MODE')) && ($GLOBALS['output_mode'] != 1)) {
+       if (isResetModeEnabled() && (!isDebugModeEnabled()) && ($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'));
        }