X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffilter-functions.php;h=4c3cae095dd75dd03a5e461401e51e0f1501191b;hb=2cdcee9f025bbea379e2da13f87dc2f71940f3e5;hp=274ded1875e60b1975ac21e9ee741694ffdaf913;hpb=06d97fddd5c72e2b1c14ddb855b7eddc53f169a7;p=mailer.git diff --git a/inc/filter-functions.php b/inc/filter-functions.php index 274ded1875..4c3cae095d 100644 --- a/inc/filter-functions.php +++ b/inc/filter-functions.php @@ -1,7 +1,7 @@ '; $GLOBALS['cache_array']['filter']['chains'][$filterName][$filterFunction] = 'A'; - $GLOBALS['cache_array']['filter']['counter'][$filterName][$filterFunction] = 0; + $GLOBALS['cache_array']['filter']['counter'][$filterName][$filterFunction] = '0'; } // END - if } @@ -234,10 +249,10 @@ function runFilterChain ($filterName, $data = null) { // Is that filter chain there? if (!isset($GLOBALS['cache_array']['filter']['chains'][$filterName])) { // We should find all these non-existing filter chains - /* Only for tracking: */ if ($filterName != 'sql_admin_extra_data') { - /* Only for tracking: */ debug_report_bug('Filter chain ' . $filterName . ' not found!'); - /* Only for tracking: */ } - //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Filter chain ' . $filterName . ' not found!'); + //* Only for tracking: */ if ($filterName != 'sql_admin_extra_data') { + //* Only for tracking: */ debug_report_bug('Filter chain ' . $filterName . ' not found!'); + //* Only for tracking: */ } + /* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Filter chain ' . $filterName . ' not found!'); // Abort here and return content return $data;