From 04e2919497683b26f8e6fbb33217141fca84e08e Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Tue, 15 Jun 2021 14:43:11 +0200 Subject: [PATCH] Avoid using old data when parsing progress --- .../godmode/um_client/lib/UpdateManager/Client.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pandora_console/godmode/um_client/lib/UpdateManager/Client.php b/pandora_console/godmode/um_client/lib/UpdateManager/Client.php index 228bdae53a..0b09845cd6 100644 --- a/pandora_console/godmode/um_client/lib/UpdateManager/Client.php +++ b/pandora_console/godmode/um_client/lib/UpdateManager/Client.php @@ -2239,6 +2239,11 @@ class Client return []; } + if (is_array($progress) === false) { + // Old data. + return []; + } + return $progress; }