mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-26 03:19:05 +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 [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_array($progress) === false) {
|
||||||
|
// Old data.
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
|
||||||
return $progress;
|
return $progress;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user