diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-06-18 12:57:37 +0400 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-06-18 12:57:37 +0400 |
commit | 07b1e677a6d012c0562874b4f86989cfc67c0300 (patch) | |
tree | 7c1ee0da9ec77d392b3a865ec1c6a2ceb0748f49 /lib/util.php | |
parent | 592656c699e9d8f2aa1cfcf7838b69bb5a552915 (diff) |
also use the default theme if the theme is set to an empty string in the config.php
Diffstat (limited to 'lib/util.php')
-rwxr-xr-x | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
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'; |