New wrapper functions introduced
[mailer.git] / inc / loader / load_cache-filter.php
index f8096858178b41dbb201593536c79c2c1b87cb55..8bf35004814d28c74783e834a39aef5855cb08d1 100644 (file)
@@ -52,7 +52,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('filter')) && ($GLOBALS['cache_in
 
        // Prepare the array here
        prepareFilterArray();
-} elseif ((getScriptOutputMode() != 1) && (isExtensionInstalled('sql_patches'))) {
+} elseif ((isHtmlOutputMode()) && (isExtensionInstalled('sql_patches'))) {
        // Create cache file here
        $GLOBALS['cache_instance']->init();