Minor fix thx @fichtner

parent 98678fb1
...@@ -64,8 +64,10 @@ class FirmwareController extends ApiControllerBase ...@@ -64,8 +64,10 @@ class FirmwareController extends ApiControllerBase
$response['status_upgrade_action'] = 'pkg'; $response['status_upgrade_action'] = 'pkg';
$response['status'] = 'ok'; $response['status'] = 'ok';
$response['status_msg'] = $response['status_msg'] =
gettext('There is a mandatory update for the package manager available. ') . gettext(
gettext('Please install and fetch updates again.'); 'There is a mandatory update for the package manager available. ' .
'Please install and fetch updates again.'
);
} elseif (array_key_exists('updates', $response)) { } elseif (array_key_exists('updates', $response)) {
$response['status_upgrade_action'] = 'all'; $response['status_upgrade_action'] = 'all';
$response['status'] = 'ok'; $response['status'] = 'ok';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment