X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffilter-functions.php;h=26c986403f362f4287ccbaab743b22831ecf6bba;hp=e83211bd9d394ffd7a211dba1e0309bab8c814b6;hb=9afd6ec5878544a7982c50ed9c0dd7de37606d5b;hpb=3c23bfaee208fa12adf5cdd9d8e9882612199d03 diff --git a/inc/filter-functions.php b/inc/filter-functions.php index e83211bd9d..26c986403f 100644 --- a/inc/filter-functions.php +++ b/inc/filter-functions.php @@ -96,7 +96,7 @@ ORDER BY $filterFunction = $filterArray['filter_function']; // Set counter to default - $GLOBALS['cache_array']['filter']['counter'][$filterName][$filterFunction] = 0; + $GLOBALS['cache_array']['filter']['counter'][$filterName][$filterFunction] = '0'; // Mark this filter as loaded (from database) $GLOBALS['cache_array']['filter']['loaded'][$filterName][$filterFunction] = true; @@ -215,7 +215,7 @@ function registerFilter ($filterName, $filterFunction, $silentAbort = true, $for // Simply add it to the array //* DEBUG: */ print __FUNCTION__.': filterName='.$filterName.',filterFunction='.$filterFunction.'
'; $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 }