// 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'];