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

Commit aa4abec

Browse files
larsroettiggelanivishal
larsroettig
authored andcommitted
#18956 Fixes for set root_category_id
1 parent 0f57a30 commit aa4abec

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

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

178178
$group = $this->groupFactory->create();
179-
$group->setData($groupData);
180179
$group->setRootCategoryId(0);
180+
$group->setData($groupData);
181181

182182
$group->getResource()->save($group);
183183
$group->getResource()->addCommitCallback(function () use ($data, $group, $website) {

0 commit comments

Comments
 (0)