]> git.mxchange.org Git - mailer.git/blobdiff - inc/filters.php
Fix for parser error
[mailer.git] / inc / filters.php
index c93c44f52ff29f9f99c27d3a6bb8000a55a21725..5f9fa665c497d402768a257adfa84ae2a8fc1b83 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) {
@@ -205,7 +205,7 @@ function unregisterFilter ($filterName, $filterFunction, $force = false, $dry_ru
 }
 
 // "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