Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit acefdb3

Browse files
Lars Roettiggelanivishal
Lars Roettig
authored andcommitted
CodeReviewChange
1 parent aa4abec commit acefdb3

File tree

1 file changed

+4
-1
lines changed
  • app/code/Magento/Store/Model/Config/Importer/Processor

1 file changed

+4
-1
lines changed

app/code/Magento/Store/Model/Config/Importer/Processor/Create.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,10 @@ private function createGroups(array $items, array $data)
176176
);
177177

178178
$group = $this->groupFactory->create();
179-
$group->setRootCategoryId(0);
179+
if (!isset($groupData['root_categry_id'])) {
180+
$groupData['root_categry_id'] = 0;
181+
}
182+
180183
$group->setData($groupData);
181184

182185
$group->getResource()->save($group);

0 commit comments

Comments
 (0)