File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Downloadable/Observer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -132,11 +132,11 @@ public function execute(\Magento\Framework\Event\Observer $observer)
132
132
);
133
133
$ linkPurchased ->setLinkSectionTitle ($ linkSectionTitle )->save ();
134
134
135
- $ linkStatus = \Magento \Downloadable \Model \Link \Purchased \Item::LINK_STATUS_PENDING ;
135
+ $ linkStatus = \Magento \Downloadable \Model \Link \Purchased \Item::LINK_STATUS_PENDING ;
136
136
if ($ orderStatusToEnableItem == \Magento \Sales \Model \Order \Item::STATUS_PENDING
137
137
|| $ orderItem ->getOrder ()->getState () == \Magento \Sales \Model \Order::STATE_COMPLETE
138
138
) {
139
- $ linkStatus = \Magento \Downloadable \Model \Link \Purchased \Item::LINK_STATUS_AVAILABLE ;
139
+ $ linkStatus = \Magento \Downloadable \Model \Link \Purchased \Item::LINK_STATUS_AVAILABLE ;
140
140
}
141
141
142
142
foreach ($ linkIds as $ linkId ) {
You can’t perform that action at this time.
0 commit comments