Skip to content

Commit aa68df5

Browse files
committed
MC-35026: When a Downloadable Product in a Group Product The Order does not show links
1 parent 4faf646 commit aa68df5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Downloadable/Observer/SaveDownloadableOrderItemObserver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function execute(\Magento\Framework\Event\Observer $observer)
9090
return $this;
9191
}
9292
$productType = $orderItem->getRealProductType() ?: $orderItem->getProductType();
93-
if ($productType != \Magento\Downloadable\Model\Product\Type::TYPE_DOWNLOADABLE) {
93+
if ($productType !== \Magento\Downloadable\Model\Product\Type::TYPE_DOWNLOADABLE) {
9494
return $this;
9595
}
9696
$product = $orderItem->getProduct();

0 commit comments

Comments
 (0)