From: Roland Häder Date: Sun, 1 Mar 2009 00:15:25 +0000 (+0000) Subject: Now throws an error for debugging X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7ce1f3a5260655500c48e3b82eb4a4a4ef971a74;p=mailer.git Now throws an error for debugging --- diff --git a/inc/filters.php b/inc/filters.php index 533a0f0af8..750d278b9f 100644 --- a/inc/filters.php +++ b/inc/filters.php @@ -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", $INC_POOL)); } elseif (isset($data['inc_pool'])) { // Use this as new inclusion pool! $INC_POOL = $data['inc_pool'];