projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
489ff30
)
Now we make sure 'filter_name' is there which prevents a notice and non-working code
author
Roland Häder
<roland@mxchange.org>
Wed, 2 Sep 2009 23:38:22 +0000
(23:38 +0000)
committer
Roland Häder
<roland@mxchange.org>
Wed, 2 Sep 2009 23:38:22 +0000
(23:38 +0000)
inc/filters.php
patch
|
blob
|
history
diff --git
a/inc/filters.php
b/inc/filters.php
index c93c44f52ff29f9f99c27d3a6bb8000a55a21725..d532c238555e10f40fac830fefc33e344e491cf7 100644
(file)
--- 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
$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) {
// Found in cache so rewrite the array
$filterArray = array();
foreach ($GLOBALS['cache_array']['filter']['filter_name'] as $idx => $filterName) {