diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-01 14:08:40 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-01 14:08:40 +0100 |
commit | e23cd3501901fb6b816df37f4f0394d5ffa2a4dd (patch) | |
tree | 3f09d0850bf66a4fe5cc6d9a0751e116550898c3 /lib | |
parent | 95199013f05849fde0b1f732c8b799b57548e8d8 (diff) | |
parent | 1601d9235a69dff26f23263d53228d632985a71d (diff) | |
download | nextcloud-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 'lib')
-rw-r--r-- | lib/private/templatelayout.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/templatelayout.php b/lib/private/templatelayout.php index 7f17ab15335..bc66c0dfb1e 100644 --- a/lib/private/templatelayout.php +++ b/lib/private/templatelayout.php @@ -130,7 +130,7 @@ class TemplateLayout extends \OC_Template { $this->assign('user_displayname', $userDisplayName); $this->assign('user_uid', \OC_User::getUser()); $this->assign('appsmanagement_active', $appsMgmtActive); - $this->assign('enableAvatars', $this->config->getSystemValue('enable_avatars', true)); + $this->assign('enableAvatars', $this->config->getSystemValue('enable_avatars', true) === true); if (\OC_User::getUser() === false) { $this->assign('userAvatarSet', false); |