Skip to content

Commit

Permalink
CodeReviewChange
Browse files Browse the repository at this point in the history
Lars Roettig authored and gelanivishal committed Nov 16, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent aa4abec commit acefdb3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -176,7 +176,10 @@ private function createGroups(array $items, array $data)
);

$group = $this->groupFactory->create();
$group->setRootCategoryId(0);
if (!isset($groupData['root_categry_id'])) {
$groupData['root_categry_id'] = 0;
}

$group->setData($groupData);

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

0 comments on commit acefdb3

Please sign in to comment.