Skip to content

Commit a217829

Browse files
authored
Merge pull request #1556 from nextcloud/stable9-updatestate-can-be-empty
[Stable9] updatestate can be empty
2 parents d2c5175 + 6ac02d4 commit a217829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/updatenotification/controller/admincontroller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public function displayPanel() {
108108
'channels' => $channels,
109109
'newVersionString' => (empty($updateState['updateVersion'])) ? '' : $updateState['updateVersion'],
110110
'downloadLink' => (empty($updateState['downloadLink'])) ? '' : $updateState['downloadLink'],
111-
'updaterEnabled' => $updateState['updaterEnabled'],
111+
'updaterEnabled' => (empty($updateState['updaterEnabled'])) ? false : $updateState['updaterEnabled'],
112112
];
113113

114114
return new TemplateResponse($this->appName, 'admin', $params, '');

0 commit comments

Comments
 (0)