]> git.mxchange.org Git - mailer.git/blobdiff - inc/reset/reset_autopurge.php
Aliasing should be avoided, better we rename the column or/and use direct column...
[mailer.git] / inc / reset / reset_autopurge.php
index 6598d56c539c0b40a1a7827e4950d3c74817cf7a..95424a6395c5ae6145defc8980dd88d7711d8c28 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif ((getScriptOutputMode() != 0) || (!isResetModeEnabled())) {
+} elseif ((!isHtmlOutputMode()) || (!isResetModeEnabled())) {
        // Do not execute when script is in CSS mode or no daily reset
        return;
 } elseif (!isExtensionActive('autopurge')) {