From 9902e70258d9d559f74f383b6a5c4da9a4007524 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Sun, 23 Aug 2009 15:49:12 +0200 Subject: [PATCH] Return array if an array was requested. --- framework/Core/lib/Horde.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Core/lib/Horde.php b/framework/Core/lib/Horde.php index 1f71c110b..ed64e3fd9 100644 --- a/framework/Core/lib/Horde.php +++ b/framework/Core/lib/Horde.php @@ -849,7 +849,7 @@ HTML; // file exist. if (!$was_included) { self::logMessage(sprintf('Failed to import configuration file "%s".', $config_dir . $config_file), __FILE__, __LINE__, PEAR_LOG_DEBUG); - return; + return is_array($var_names) ? array() : null; } if (isset($output) && $show_output) { -- 2.11.0