X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffilter-functions.php;h=41e5adeca08236ea36d2126e5457919c1cb259f9;hp=5e3a5d828499c33a1378e12c67dc8ffd33c587ad;hb=a6338d45de26f6d08ff8fb3827fdc34157214b3f;hpb=8d55583979393ee9d065531e3a2f6ab1507406d3 diff --git a/inc/filter-functions.php b/inc/filter-functions.php index 5e3a5d8284..41e5adeca0 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 } @@ -228,7 +232,7 @@ function unregisterFilter ($filterName, $filterFunction, $force = false, $dry_ru // Is that filter there? if ((!isset($GLOBALS['cache_array']['filter']['chains'][$filterName][$filterFunction])) && ($force === false)) { // Not found, so abort here - addFatalMessage(__FUNCTION__, __LINE__, getMessage('FILTER_FAILED_NOT_REMOVED'), array($filterFunction, $filterName)); + addFatalMessage(__FUNCTION__, __LINE__, sprintf(getMessage('FILTER_FAILED_NOT_REMOVED'), $filterFunction, $filterName)); return false; } // END - if