]> git.mxchange.org Git - mailer.git/blobdiff - inc/reset/reset_autopurge.php
Fix for if user account is missing
[mailer.git] / inc / reset / reset_autopurge.php
index 586dfbb4b6883f09303b6fc6ea6e83c29cf4f5c9..6598d56c539c0b40a1a7827e4950d3c74817cf7a 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} elseif ((getOutputMode() != 0) || (!isResetModeEnabled())) {
+} elseif ((getScriptOutputMode() != 0) || (!isResetModeEnabled())) {
        // Do not execute when script is in CSS mode or no daily reset
        return;
 } elseif (!isExtensionActive('autopurge')) {