From bbc5fbe8c4764d565506de75733284400e2d3a28 Mon Sep 17 00:00:00 2001
From: Joas Schilling <coding@schilljs.com>
Date: Tue, 6 Sep 2016 14:00:54 +0200
Subject: [PATCH] Don't throw 500 when not installed

---
 status.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
-- 
GitLab