mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
#12718 fix error on signature package ums
This commit is contained in:
parent
db05fdb341
commit
6091071f03
@ -2383,7 +2383,7 @@ class Client
|
||||
|
||||
// Retrieve package from UMS.
|
||||
$this->notify(0, 'Downloading server update '.$version);
|
||||
$this->post(
|
||||
$package = $this->post(
|
||||
[
|
||||
'action' => 'get_server_package',
|
||||
'arguments' => ['version' => $version],
|
||||
@ -2407,6 +2407,11 @@ class Client
|
||||
return false;
|
||||
}
|
||||
|
||||
if (empty($package) === true) {
|
||||
$this->lastError = 'Error on Package from UMS';
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($this->propagateUpdates === true) {
|
||||
$this->saveSignature(
|
||||
$signature,
|
||||
|
Loading…
x
Reference in New Issue
Block a user