We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 243939c commit 39f2ddeCopy full SHA for 39f2dde
app/code/Magento/Downloadable/Block/Sales/Order/Email/Items/Downloadable.php
@@ -68,12 +68,12 @@ public function __construct(
68
public function getLinks()
69
{
70
$this->_purchased = $this->_purchasedFactory->create()->load(
71
- $this->getItem()->getId(),
+ $this->getItem()->getOrderItemId(),
72
'order_item_id'
73
);
74
$purchasedLinks = $this->_itemsFactory->create()->addFieldToFilter(
75
'order_item_id',
76
- $this->getItem()->getId()
+ $this->getItem()->getOrderItemId()
77
78
$this->_purchased->setPurchasedItems($purchasedLinks);
79
0 commit comments