X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffilter-functions.php;h=bbcdb3711e000449ef81e76274ad601518ed8e1b;hb=e68f2f7b0a55fa31eb7ce5baf844dca40f11abea;hp=615bdba025207b71b8b86a4cb63cd35ef4c8aac5;hpb=ed3a88c0334600c7d7246480008c79716aa3f80b;p=mailer.git diff --git a/inc/filter-functions.php b/inc/filter-functions.php index 615bdba025..bbcdb3711e 100644 --- a/inc/filter-functions.php +++ b/inc/filter-functions.php @@ -64,7 +64,7 @@ function initFilterSystem () { // 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 @@ -126,6 +126,7 @@ ORDER BY // 'You are here' navigation - post filter registerFilter('post_youhere_line', 'CALL_HANDLER_LOGIN_FAILTURES'); + registerFilter('post_youhere_line', 'HANDLE_HOME_IN_INDEX_SETTING'); // Filters for pre-extension-registration registerFilter('pre_extension_installed', 'RUN_SQLS'); @@ -259,7 +260,7 @@ function unregisterFilter ($F, $L, $filterName, $filterFunction, $force = false, } // "Runs" the given filters, filterData is optional and can be any type of data -function runFilterChain ($filterName, $filterData = null) { +function runFilterChain ($filterName, $filterData = NULL) { //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'filterName=' . $filterName . ',filterData[]=' . gettype($filterData) . ' - ENTERED!'); // Is that filter chain there? @@ -373,7 +374,7 @@ function loadExtensionFilters ($ext_name) { $GLOBALS[__FUNCTION__][$ext_name] = true; } elseif (isDebugModeEnabled()) { // Log missing file - logDebugMessage(__FUNCTION__, __LINE__, 'Include file ' . $incFileName . ' for extension ' . $ext_name . ' is missing.'); + logDebugMessage(__FUNCTION__, __LINE__, 'Filter include file ' . $incFileName . ' for extension ' . $ext_name . ' is missing.'); } } // END - if }