Skip to content

Commit

Permalink
Make sure we evaluate installed like we do it everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
nickvergessen committed May 23, 2016
1 parent 7f1b8f2 commit 828dec9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions status.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@

$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,
Expand Down

0 comments on commit 828dec9

Please sign in to comment.