This commit is contained in:
CPbN 2019-07-08 11:21:51 +02:00
parent fef7b9ff76
commit 074c597b64
1 changed files with 2 additions and 2 deletions

View File

@ -253,9 +253,9 @@ sub internal_update_checker {
my ($self, %options) = @_;
my $status = $self->request_api(method => 'GET', url_path =>'/api/UpdateChecker/GetFromParams', eval_content => 1);
if(ref($status) eq 'HASH') {
if (ref($status) eq 'HASH') {
$status = $status->{tcxUpdate};
if(ref($status) ne 'ARRAY') {
if (ref($status) ne 'ARRAY') {
# See above note about strange content
$status = JSON::XS->new->utf8->decode($status);
}