From 7ce1f3a5260655500c48e3b82eb4a4a4ef971a74 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 1 Mar 2009 00:15:25 +0000 Subject: [PATCH] Now throws an error for debugging --- inc/filters.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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']; -- 2.39.5