Merge pull request #1556 from nextcloud/stable9-updatestate-can-be-empty

[Stable9] updatestate can be empty
This commit is contained in:
Lukas Reschke 2016-09-28 13:03:32 +02:00 committed by GitHub
commit a217829454
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ class AdminController extends Controller {
'channels' => $channels,
'newVersionString' => (empty($updateState['updateVersion'])) ? '' : $updateState['updateVersion'],
'downloadLink' => (empty($updateState['downloadLink'])) ? '' : $updateState['downloadLink'],
'updaterEnabled' => $updateState['updaterEnabled'],
'updaterEnabled' => (empty($updateState['updaterEnabled'])) ? false : $updateState['updaterEnabled'],
];
return new TemplateResponse($this->appName, 'admin', $params, '');