]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter-functions.php
make-euros has replied me, now when you add request parameters only those from select...
[mailer.git] / inc / filter-functions.php
index 41e5adeca08236ea36d2126e5457919c1cb259f9..d096c8e43bb0c1fe74a1bfb1fcc021254a44b247 100644 (file)
@@ -163,7 +163,7 @@ ORDER BY
 
        // Compiling code
        registerFilter('compile_code', 'COMPILE_CONFIG');
-       registerFilter('compile_code', 'COMPILE_EXTENSION');
+       registerFilter('compile_code', 'COMPILE_EXPRESSION_CODE');
 
        // Generic extension update filters
        registerFilter('extension_update', 'UPDATE_EXTENSION_DATA');
@@ -248,11 +248,11 @@ function unregisterFilter ($filterName, $filterFunction, $force = false, $dry_ru
 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 <strong>' . $filterName . '</strong> 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;