Commit afb730ff authored by Ad Schellevis's avatar Ad Schellevis

(firmware) small typo in message

parent 54e976fe
...@@ -58,8 +58,8 @@ class FirmwareController extends ApiControllerBase ...@@ -58,8 +58,8 @@ class FirmwareController extends ApiControllerBase
$response["status_msg"] = "no updates found"; $response["status_msg"] = "no updates found";
} elseif (array_key_exists("updates", $response) && $response["upgrade_packages"][0]["name"] == "pkg") { } elseif (array_key_exists("updates", $response) && $response["upgrade_packages"][0]["name"] == "pkg") {
$response["status"] = "ok"; $response["status"] = "ok";
$response["status_msg"] = "There is a mandatory update for the package manager.". $response["status_msg"] = "There is a mandatory update for the package manager. ".
"please install and check for updates again."; "Please install and check for updates again.";
} elseif (array_key_exists("updates", $response)) { } elseif (array_key_exists("updates", $response)) {
$response["status"] = "ok"; $response["status"] = "ok";
$response["status_msg"] = sprintf("A total of %s update(s) are available.", $response["updates"]); $response["status_msg"] = sprintf("A total of %s update(s) are available.", $response["updates"]);
......
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