]> git.mxchange.org Git - mailer.git/commitdiff
Now we make sure 'filter_name' is there which prevents a notice and non-working code
authorRoland Häder <roland@mxchange.org>
Wed, 2 Sep 2009 23:38:22 +0000 (23:38 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 2 Sep 2009 23:38:22 +0000 (23:38 +0000)
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) {