Don't throw 500 when not installed

This commit is contained in:
Joas Schilling 2016-09-06 14:00:54 +02:00
parent 7bfc698ae4
commit bbc5fbe8c4
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with 1 additions and 1 deletions

View File

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