X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffilters.php;h=64de90acd5085ad54d94acc9ac8b202b1d983f42;hp=533a0f0af87c6177a981b9227f5b6528063324d2;hb=2271b257e04ecbecf1c1e9fe91cd948b50e1ded4;hpb=4f81f03880adee27e96f05d5d9921f717fd9d938 diff --git a/inc/filters.php b/inc/filters.php index 533a0f0af8..64de90acd5 100644 --- a/inc/filters.php +++ b/inc/filters.php @@ -241,9 +241,9 @@ function FILTER_FLUSH_FILTERS () { $SQLs = array(); // Is a database link here and not in installation mode? - if ((!SQL_IS_LINK_UP()) && (!isBooleanConstantAndTrue('mxchange_installing'))) { + if ((!SQL_IS_LINK_UP()) && (!isInstalling())) { // Abort here - addFatalMessage(getMessage('FILTER_FLUSH_FAILED_NO_DATABASE'), array($filterFunction, $filterName)); + addFatalMessage(getMessage('FILTER_FLUSH_FAILED_NO_DATABASE')); return false; } // END - if @@ -388,8 +388,7 @@ function FILTER_LOAD_INCLUDES ($data) { // Is it an array? if ((!isset($data)) || (!is_array($data))) { // Then abort here - DEBUG_LOG(__FILE__, __LINE__, "INC_POOL is no array!"); - return $data; + debug_report_bug(sprintf("INC_POOL is no array! Type: %s", gettype($INC_POOL))); } elseif (isset($data['inc_pool'])) { // Use this as new inclusion pool! $INC_POOL = $data['inc_pool'];