From: Roland Häder Date: Wed, 2 Sep 2009 23:38:22 +0000 (+0000) Subject: Now we make sure 'filter_name' is there which prevents a notice and non-working code X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5b19f243da1b69e64dc8c704a7dfa473473a9023;p=mailer.git Now we make sure 'filter_name' is there which prevents a notice and non-working code --- diff --git a/inc/filters.php b/inc/filters.php index c93c44f52f..d532c23855 100644 --- a/inc/filters.php +++ b/inc/filters.php @@ -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) {