diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-01-27 15:17:25 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-01-27 15:17:25 +0100 |
commit | 1601d9235a69dff26f23263d53228d632985a71d (patch) | |
tree | 72f44db7dafe62d161366a284315755217e9f903 /core/js | |
parent | 308396b770f3b1b41ba31ff0ee889d485b14d14a (diff) | |
download | nextcloud-server-1601d9235a69dff26f23263d53228d632985a71d.tar.gz nextcloud-server-1601d9235a69dff26f23263d53228d632985a71d.zip |
Make enable_avatars setting more robust
* handles the setting in the same way everywhere
* fixes #21949
Diffstat (limited to 'core/js')
-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 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'), ) |