Now throws an error for debugging
authorRoland Häder <roland@mxchange.org>
Sun, 1 Mar 2009 00:15:25 +0000 (00:15 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 1 Mar 2009 00:15:25 +0000 (00:15 +0000)
inc/filters.php

index 533a0f0..750d278 100644 (file)
@@ -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'];