Fixed doublicate init of filter system if 'cache' extension is installed
[mailer.git] / inc / load_extensions.php
index 4fc530349ea17a17f1bd50c7b09c23aa44bd5984..7db086e4e1e24254676de54602d21fceccd33a5b 100644 (file)
@@ -265,7 +265,7 @@ if ((SQL_NUMROWS($res_ext_crt) > 0) && ((($cacheMode == "init") && ($CSS != "1")
 
        // Free memory
        SQL_FREERESULT($res_ext_crt);
-} else {
+} elseif (!EXT_IS_ACTIVE("cache")) {
        // Init filter system even when there are no extensions installed. #16
        INIT_FILTER_SYSTEM();
 }