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 e3a88ed commit 67f72f5Copy full SHA for 67f72f5
app/code/Magento/Sales/CustomerData/LastOrderedItems.php
@@ -138,7 +138,7 @@ protected function getItems()
138
$this->logger->critical($noEntityException);
139
continue;
140
}
141
- if (isset($product) && in_array($website, $product->getWebsiteIds())) {
+ if (in_array($website, $product->getWebsiteIds())) {
142
$url = $product->isVisibleInSiteVisibility() ? $product->getProductUrl() : null;
143
$items[] = [
144
'id' => $item->getId(),
@@ -188,7 +188,7 @@ protected function getLastOrder()
188
189
190
/**
191
- * {@inheritdoc}
+ * @inheritdoc
192
*/
193
public function getSectionData()
194
{
0 commit comments