mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Avoid using old data when parsing progress
This commit is contained in:
parent
2f0cebe979
commit
04e2919497
@ -2239,6 +2239,11 @@ class Client
|
||||
return [];
|
||||
}
|
||||
|
||||
if (is_array($progress) === false) {
|
||||
// Old data.
|
||||
return [];
|
||||
}
|
||||
|
||||
return $progress;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user