]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter-functions.php
Content-Length: 1 caused the slow response... :(
[mailer.git] / inc / filter-functions.php
index e96ab005b547a10040be3c33188d53265b51db20..b797f90f15130559594b1710859f0950c6384d43 100644 (file)
@@ -247,7 +247,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) {
        // Is that filter chain there?
-       if (!isset($GLOBALS['cache_array']['filter']['chains'][$filterName])) {
+       if ((!isset($GLOBALS['cache_array']['filter']['chains'][$filterName])) && (isDebugModeEnabled())) {
                // 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 <strong>' . $filterName . '</strong> not found!');