$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) {
}
// "Runs" the given filters, data is optional and can be any type of data
-function runFilterChain ($filterName, $data = null, $silentAbort = true) {
+function runFilterChain ($filterName, $data = null) {
// Is that filter chain there?
if (!isset($GLOBALS['filters']['chains'][$filterName])) {
// We should find all these non-existing filter chains