diff options
-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, |