Bug #9395: Return array from getStylesheetUrls()
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 18 Nov 2010 16:42:33 +0000 (09:42 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 18 Nov 2010 16:42:33 +0000 (09:42 -0700)
framework/Core/lib/Horde/Themes/Css.php

index 0e7cdc2..b307bc0 100644 (file)
@@ -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);
     }
 
     /**