BasketSnapshot: small fix
This commit is contained in:
parent
5295165386
commit
5404e32f6d
|
@ -194,7 +194,7 @@ class BasketSnapshot extends DbObject
|
||||||
$fieldResolver->storeNewFields();
|
$fieldResolver->storeNewFields();
|
||||||
foreach ($this->restoreOrder as $typeName) {
|
foreach ($this->restoreOrder as $typeName) {
|
||||||
if (isset($all->$typeName)) {
|
if (isset($all->$typeName)) {
|
||||||
$objects = $all->$typeName;
|
$objects = (array) $all->$typeName;
|
||||||
$class = static::getClassForType($typeName);
|
$class = static::getClassForType($typeName);
|
||||||
|
|
||||||
$changed = [];
|
$changed = [];
|
||||||
|
|
Loading…
Reference in New Issue