From a813020cde5ffefe12257eaf1e7657ecfc0cf3f8 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 18 Nov 2010 09:42:33 -0700 Subject: [PATCH] Bug #9395: Return array from getStylesheetUrls() --- framework/Core/lib/Horde/Themes/Css.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/framework/Core/lib/Horde/Themes/Css.php b/framework/Core/lib/Horde/Themes/Css.php index 0e7cdc2ec..b307bc071 100644 --- a/framework/Core/lib/Horde/Themes/Css.php +++ b/framework/Core/lib/Horde/Themes/Css.php @@ -57,7 +57,6 @@ class Horde_Themes_Css $themesuri = $registry->get('themesuri'); $css = $this->getStylesheets(isset($options['theme']) ? $options['theme'] : $prefs->getValue('theme'), $options); - $css_out = array(); $cache_type = empty($conf['cachecss']) ? 'none' @@ -120,7 +119,7 @@ class Horde_Themes_Css } } - return $css_url; + return array($css_url); } /** -- 2.11.0