diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-08-24 20:11:46 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-08-24 20:11:46 +0200 |
commit | 09808a9007511c2d06da31daed7a9e2061646401 (patch) | |
tree | 96bffe13f526bd9fe18bf2aca5758bfabf3f545e | |
parent | b2fcdd65cddf03b2faea25b8bc6f220a7b8bdcbd (diff) | |
parent | 2817eecf196ebeb0b58580f6fc21a2de178b9061 (diff) | |
download | nextcloud-server-09808a9007511c2d06da31daed7a9e2061646401.tar.gz nextcloud-server-09808a9007511c2d06da31daed7a9e2061646401.zip |
Merge pull request #18532 from owncloud/fix-regression
Fix regression
-rw-r--r-- | core/js/config.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/config.php b/core/js/config.php index 21451bf91b0..5da610698df 100644 --- a/core/js/config.php +++ b/core/js/config.php @@ -62,7 +62,7 @@ if ($defaultExpireDateEnabled) { $outgoingServer2serverShareEnabled = $config->getAppValue('files_sharing', 'outgoing_server2server_share_enabled', 'yes') === 'yes'; $array = array( - "oc_debug" => $config->getSystemValue('debug', false), + "oc_debug" => $config->getSystemValue('debug', false) ? 'true' : 'false', "oc_isadmin" => OC_User::isAdminUser(OC_User::getUser()) ? 'true' : 'false', "oc_webroot" => "\"".OC::$WEBROOT."\"", "oc_appswebroots" => str_replace('\\/', '/', json_encode($apps_paths)), // Ugly unescape slashes waiting for better solution |