X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffilter-functions.php;h=d096c8e43bb0c1fe74a1bfb1fcc021254a44b247;hb=8ffce31d9ae39991adf913512d8f5db24fda0b2a;hp=26c986403f362f4287ccbaab743b22831ecf6bba;hpb=d495bd859975d08ee459d03c9b1cd51dd9b9304d;p=mailer.git diff --git a/inc/filter-functions.php b/inc/filter-functions.php index 26c986403f..d096c8e43b 100644 --- a/inc/filter-functions.php +++ b/inc/filter-functions.php @@ -1,7 +1,7 @@ ' . $filterName . ' not found!'); - //* Only for tracking: */ } - /* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Filter chain ' . $filterName . ' not found!'); + // Log not found filters in debug-mode + if (isDebugModeEnabled()) { + // Log it away... + logDebugMessage(__FUNCTION__, __LINE__, 'Filter chain ' . $filterName . ' not found!'); + } // END - if // Abort here and return content return $data;