]> git.mxchange.org Git - mailer.git/blobdiff - inc/filters.php
Now we make sure 'filter_name' is there which prevents a notice and non-working code
[mailer.git] / inc / filters.php
index c93c44f52ff29f9f99c27d3a6bb8000a55a21725..d532c238555e10f40fac830fefc33e344e491cf7 100644 (file)
@@ -62,7 +62,7 @@ function initFilterSystem () {
        $GLOBALS['filters']['counter'] = array();
 
        // Load all saved filers if sql_patches is updated
-       if (isset($GLOBALS['cache_array']['filter'])) {
+       if (isset($GLOBALS['cache_array']['filter']['filter_name'])) {
                // Found in cache so rewrite the array
                $filterArray = array();
                foreach ($GLOBALS['cache_array']['filter']['filter_name'] as $idx => $filterName) {