Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-05-23 11:09:36 +0300
committerJoas Schilling <nickvergessen@owncloud.com>2016-05-23 14:24:03 +0300
commitb30f4c279949a4820a8ffabeec968d14d64d3e8a (patch)
tree3cd89a7be04da67b2e6afa4a00c13e0b9fb025bc /status.php
parent3c73e54eb97b4e7ba5633b0e650b4cc95ec24c4b (diff)
Make sure we evaluate installed like we do it everywhere
Diffstat (limited to 'status.php')
-rw-r--r--status.php4
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,