diff --git a/library/Director/DirectorObject/Automation/BasketSnapshot.php b/library/Director/DirectorObject/Automation/BasketSnapshot.php index d4fbc6d1..098de8d2 100644 --- a/library/Director/DirectorObject/Automation/BasketSnapshot.php +++ b/library/Director/DirectorObject/Automation/BasketSnapshot.php @@ -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 = [];