Skip to content

Commit 90e0a28

Browse files
authored
Merge pull request #71 from hissy/fix/70
Reset blocks variable when importing stacks
2 parents 7342d62 + 02b5406 commit 90e0a28

File tree

1 file changed

+1
-0
lines changed
  • src/PortlandLabs/Concrete5/MigrationTool/Importer/CIF/Element

1 file changed

+1
-0
lines changed

src/PortlandLabs/Concrete5/MigrationTool/Importer/CIF/Element/Stack.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public function getObjectCollection(\SimpleXMLElement $element, Batch $batch)
5353
if ($element->stacks) {
5454
$position = 0;
5555
foreach ($element->stacks->children() as $node) {
56+
$blocks = null;
5657
$stack = $this->parseStack($node);
5758
$stack->setPosition($position);
5859
if (isset($node->area->blocks->block)) {

0 commit comments

Comments
 (0)