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 19a1825 commit f1a252fCopy full SHA for f1a252f
app/code/Magento/Checkout/Model/Session.php
@@ -240,7 +240,7 @@ public function getQuote()
240
? $this->_customer->getId()
241
: $this->_customerSession->getCustomerId();
242
243
- if ($quote->getData('customer_id') && $quote->getData('customer_id') !== $customerId) {
+ if ($quote->getData('customer_id') && (int)$quote->getData('customer_id') !== (int)$customerId) {
244
$quote = $this->quoteFactory->create();
245
$this->setQuoteId(null);
246
}
0 commit comments