Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-06-18 12:57:37 +0400
committerBjörn Schießle <schiessle@owncloud.com>2013-06-18 12:57:37 +0400
commit07b1e677a6d012c0562874b4f86989cfc67c0300 (patch)
tree7c1ee0da9ec77d392b3a865ec1c6a2ceb0748f49 /lib/util.php
parent592656c699e9d8f2aa1cfcf7838b69bb5a552915 (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-xlib/util.php2
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';