summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-01 14:08:40 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-01 14:08:40 +0100
commite23cd3501901fb6b816df37f4f0394d5ffa2a4dd (patch)
tree3f09d0850bf66a4fe5cc6d9a0751e116550898c3 /core/js
parent95199013f05849fde0b1f732c8b799b57548e8d8 (diff)
parent1601d9235a69dff26f23263d53228d632985a71d (diff)
downloadnextcloud-server-e23cd3501901fb6b816df37f4f0394d5ffa2a4dd.tar.gz
nextcloud-server-e23cd3501901fb6b816df37f4f0394d5ffa2a4dd.zip
Merge pull request #21953 from owncloud/make-enable_avatars-more-robust
Make enable_avatars setting more robust
Diffstat (limited to 'core/js')
-rw-r--r--core/js/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/config.php b/core/js/config.php
index 708da777ee4..9ea8f3864d1 100644
--- a/core/js/config.php
+++ b/core/js/config.php
@@ -140,7 +140,7 @@ $array = array(
'session_keepalive' => \OCP\Config::getSystemValue('session_keepalive', true),
'version' => implode('.', \OCP\Util::getVersion()),
'versionstring' => OC_Util::getVersionString(),
- 'enable_avatars' => \OC::$server->getConfig()->getSystemValue('enable_avatars', true),
+ 'enable_avatars' => \OC::$server->getConfig()->getSystemValue('enable_avatars', true) === true,
'lost_password_link'=> \OC::$server->getConfig()->getSystemValue('lost_password_link', null),
'modRewriteWorking' => (getenv('front_controller_active') === 'true'),
)