Skip to content

Commit 42693c2

Browse files
author
Oleksandr Iegorov
committed
MAGETWO-49201: Grouped and Bundle product fixes
1 parent 349aebf commit 42693c2

File tree

1 file changed

+1
-5
lines changed
  • app/code/Magento/GroupedProduct/Ui/DataProvider/Product/Form/Modifier

1 file changed

+1
-5
lines changed

app/code/Magento/GroupedProduct/Ui/DataProvider/Product/Form/Modifier/Grouped.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,7 @@ public function modifyData(array $data)
134134
continue;
135135
}
136136
/** @var \Magento\Catalog\Api\Data\ProductInterface $linkedProduct */
137-
$linkedProduct = $this->productRepository->get(
138-
$linkItem->getLinkedProductSku(),
139-
false,
140-
$storeId
141-
);
137+
$linkedProduct = $this->productRepository->get($linkItem->getLinkedProductSku(), false, $storeId);
142138
$data[$modelId]['links'][self::LINK_TYPE][] = [
143139
'id' => $linkedProduct->getId(),
144140
'name' => $linkedProduct->getName(),

0 commit comments

Comments
 (0)