From: Jan Schneider Date: Sun, 23 Aug 2009 13:49:12 +0000 (+0200) Subject: Return array if an array was requested. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=9902e70258d9d559f74f383b6a5c4da9a4007524;p=horde.git Return array if an array was requested. --- 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) {