From 07b1e677a6d012c0562874b4f86989cfc67c0300 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Schie=C3=9Fle?= Date: Tue, 18 Jun 2013 10:57:37 +0200 Subject: [PATCH] also use the default theme if the theme is set to an empty string in the config.php --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index 9e22f626265..9d864c29754 100755 --- a/lib/util.php +++ b/lib/util.php @@ -815,7 +815,7 @@ class OC_Util { public static function getTheme() { $theme = OC_Config::getValue("theme"); - if(is_null($theme)) { + if(!$theme) { if(is_dir(OC::$SERVERROOT . '/themes/default')) { $theme = 'default'; -- 2.39.5