Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-09-28 14:03:32 +0300
committerGitHub <noreply@github.com>2016-09-28 14:03:32 +0300
commita217829454801ac62bc603bf91921e7716c6db47 (patch)
tree3a97879094f629f4a490a518bea6eddb8c5ef9cc
parentd2c51750af5698557a06569bf1027afa89c703bf (diff)
parent6ac02d4aac5f623480ce39a362abb548f4ea1fa5 (diff)
Merge pull request #1556 from nextcloud/stable9-updatestate-can-be-empty
[Stable9] updatestate can be empty
-rw-r--r--apps/updatenotification/controller/admincontroller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/updatenotification/controller/admincontroller.php b/apps/updatenotification/controller/admincontroller.php
index 5eafb1449f3..17c719f25d3 100644
--- a/apps/updatenotification/controller/admincontroller.php
+++ b/apps/updatenotification/controller/admincontroller.php
@@ -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, '');