diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-23 10:09:36 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-05-23 10:09:36 +0200 |
commit | 828dec9edb1828da9083171d61462e5dff0d4163 (patch) | |
tree | 19bfe3ecb1754404681396b9c84570e009e80ab3 /status.php | |
parent | 7f1b8f22d46368d2d1161e40dfbb457e555a5940 (diff) | |
download | nextcloud-server-828dec9edb1828da9083171d61462e5dff0d4163.tar.gz nextcloud-server-828dec9edb1828da9083171d61462e5dff0d4163.zip |
Make sure we evaluate installed like we do it everywhere
Diffstat (limited to 'status.php')
-rw-r--r-- | status.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/status.php b/status.php index 86f1f68dde1..4afabbf2cd1 100644 --- a/status.php +++ b/status.php @@ -31,8 +31,8 @@ try { $systemConfig = \OC::$server->getSystemConfig(); - $installed = $systemConfig->getValue('installed') == 1; - $maintenance = $systemConfig->getValue('maintenance', false); + $installed = (bool) $systemConfig->getValue('installed', false); + $maintenance = (bool) $systemConfig->getValue('maintenance', false); $values=array( 'installed'=>$installed, 'maintenance' => $maintenance, |