Skip to content

Commit

Permalink
magento#25675 Fix for the issue with qty check
Browse files Browse the repository at this point in the history
  • Loading branch information
molneek committed Nov 23, 2019
1 parent 2889edb commit 9a6a0dd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ public function validate(Observer $observer)
/* @var $quoteItem Item */
$quoteItem = $observer->getEvent()->getItem();
if (!$quoteItem ||
!$quoteItem->getId() ||
!$quoteItem->getProductId() ||
!$quoteItem->getQuote()
) {
Expand Down

0 comments on commit 9a6a0dd

Please sign in to comment.