From 5b19f243da1b69e64dc8c704a7dfa473473a9023 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 2 Sep 2009 23:38:22 +0000 Subject: [PATCH] Now we make sure 'filter_name' is there which prevents a notice and non-working code --- inc/filters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2