]> git.mxchange.org Git - mailer.git/commitdiff
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 533a0f0af87c6177a981b9227f5b6528063324d2..750d278b9fdf83a39b14cb822a6a41872210c0f8 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'];