Avoid using old data when parsing progress

This commit is contained in:
fbsanchez 2021-06-15 14:43:11 +02:00
parent 2f0cebe979
commit 04e2919497
1 changed files with 5 additions and 0 deletions

View File

@ -2239,6 +2239,11 @@ class Client
return [];
}
if (is_array($progress) === false) {
// Old data.
return [];
}
return $progress;
}