BasketSnapshot: small fix

This commit is contained in:
Thomas Gelf 2018-10-15 15:16:01 +02:00
parent 5295165386
commit 5404e32f6d
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ class BasketSnapshot extends DbObject
$fieldResolver->storeNewFields();
foreach ($this->restoreOrder as $typeName) {
if (isset($all->$typeName)) {
$objects = $all->$typeName;
$objects = (array) $all->$typeName;
$class = static::getClassForType($typeName);
$changed = [];