Skip to content

Commit

Permalink
Sync code with magento#9600
Browse files Browse the repository at this point in the history
  • Loading branch information
kassner authored May 29, 2017
1 parent eccf87b commit 9831972
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ protected function setProductLinks(\Magento\Catalog\Model\Product $product)
unset($linkTypes[$productLink->getLinkType()]);
}

/** @var \Magento\Catalog\Api\Data\ProductLinkTypeInterface $linkType */
foreach ($linkTypes as $linkType => $readonly) {
if (isset($links[$linkType]) && !$readonly) {
foreach ((array) $links[$linkType] as $linkData) {
Expand Down

0 comments on commit 9831972

Please sign in to comment.