]> source.dussan.org Git - nextcloud-server.git/commitdiff
also use the default theme if the theme is set to an empty string in the config.php
authorBjörn Schießle <schiessle@owncloud.com>
Tue, 18 Jun 2013 08:57:37 +0000 (10:57 +0200)
committerBjörn Schießle <schiessle@owncloud.com>
Tue, 18 Jun 2013 08:57:37 +0000 (10:57 +0200)
lib/util.php

index 9e22f62626523221b725a71821fb9ac7178b21bd..9d864c29754decc5946a6bf124c7ce9207ac6426 100755 (executable)
@@ -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';