// Load all filters
$result = SQL_QUERY('SELECT
- `filter_name`,`filter_function`,`filter_active`' . $add . '
+ `filter_name`, `filter_function`, `filter_active`' . $add . '
FROM
`{?_MYSQL_PREFIX?}_filters`
ORDER BY
registerFilter('pre_page_header', 'LOAD_PAGE_HEADER');
// Page headers - post-filter (normally, you don't want to register here)
- // ------------------- LAST FILTER FOR THIS CHAIN! ------------------------
+ //-------------------- LAST FILTER FOR THIS CHAIN! ------------------------
registerFilter('post_page_header', 'FINISH_PAGE_HEADER');
- // ------------------- LAST FILTER FOR THIS CHAIN! ------------------------
+ //-------------------- LAST FILTER FOR THIS CHAIN! ------------------------
// 'You are here' navigation - post filter
registerFilter('post_youhere_line', 'CALL_HANDLER_LOGIN_FAILTURES');
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'REGISTER: filterName=' . $filterName . ',filterFunction=' . $filterFunction);
$GLOBALS['cache_array']['filter']['chains'][$filterName][$filterFunction] = 'A';
$GLOBALS['cache_array']['filter']['counter'][$filterName][$filterFunction] = '0';
- } // END - if
+ } elseif (($silentAbort === false) && (!function_exists($filterFunction))) {
+ // Please report them all!
+ debug_report_bug(__FUNCTION__, __LINE__, 'filterName=' . $filterName . ',filterFunction=' . $filterFunction . ',silentAbort=false,force=' . intval($force) . ',dry_run=' . intval($dry_run) . ' - NOT FOUND!');
+ }
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'ENTRY: filterName=' . $filterName . ',filterFunction=' . $filterFunction . ' - EXIT!');
}