aboutsummaryrefslogtreecommitdiffstats
path: root/status.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-06 14:00:54 +0200
committerJoas Schilling <coding@schilljs.com>2016-09-06 14:00:54 +0200
commitbbc5fbe8c4764d565506de75733284400e2d3a28 (patch)
tree4bf058a0208233814de6a120860f71301bdd57ca /status.php
parent7bfc698ae4a83ea8fd358f042f4cdb78bbf7bec3 (diff)
downloadnextcloud-server-bbc5fbe8c4764d565506de75733284400e2d3a28.tar.gz
nextcloud-server-bbc5fbe8c4764d565506de75733284400e2d3a28.zip
Don't throw 500 when not installed
Diffstat (limited to 'status.php')
-rw-r--r--status.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/status.php b/status.php
index 5b4b950139b..ed7287cb317 100644
--- a/status.php
+++ b/status.php
@@ -43,7 +43,7 @@ try {
'maintenance' => $maintenance,
'version'=>implode('.', \OCP\Util::getVersion()),
'versionstring'=>OC_Util::getVersionString(),
- 'edition'=>OC_Util::getEditionString(),
+ 'edition'=> $installed ? OC_Util::getEditionString() : '',
'productname'=>$defaults->getName());
if (OC::$CLI) {
print_r($values);