mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Merge branch 'ent-12718-el-update-manager-online-no-da-error-cuando-la-firma-del-server-esta-mal' into 'develop'
Ent 12718 el update manager online no da error cuando la firma del server esta mal See merge request artica/pandorafms!6890
This commit is contained in:
commit
993f1e4124
@ -2383,7 +2383,7 @@ class Client
|
|||||||
|
|
||||||
// Retrieve package from UMS.
|
// Retrieve package from UMS.
|
||||||
$this->notify(0, 'Downloading server update '.$version);
|
$this->notify(0, 'Downloading server update '.$version);
|
||||||
$this->post(
|
$package = $this->post(
|
||||||
[
|
[
|
||||||
'action' => 'get_server_package',
|
'action' => 'get_server_package',
|
||||||
'arguments' => ['version' => $version],
|
'arguments' => ['version' => $version],
|
||||||
@ -2407,6 +2407,11 @@ class Client
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (empty($package) === true) {
|
||||||
|
$this->lastError = 'Error on Package from UMS';
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if ($this->propagateUpdates === true) {
|
if ($this->propagateUpdates === true) {
|
||||||
$this->saveSignature(
|
$this->saveSignature(
|
||||||
$signature,
|
$signature,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user