More rewrites, and output-mode fixed (we should documentate this)
[mailer.git] / inc / loader / load_cache-filter.php
index 5d98fc29de9487da559c107fc2200cbee5461d19..a8e12af5dad6a75b206fe28781f59148a3cffa68 100644 (file)
@@ -48,7 +48,7 @@ if (isInstallationPhase()) return;
 if (($GLOBALS['cache_instance']->loadCacheFile('filter')) && ($GLOBALS['cache_instance']->extensionVersionMatches('sql_patches'))) {
        // Load filter from cache
        $GLOBALS['cache_array']['filter'] = $GLOBALS['cache_instance']->getArrayFromCache();
-} elseif ((getOutputMode() != '1') && (isExtensionInstalled('sql_patches'))) {
+} elseif ((getOutputMode() != 1) && (isExtensionInstalled('sql_patches'))) {
        // Create cache file here
        $GLOBALS['cache_instance']->init();