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 a6177a2 commit 076da08Copy full SHA for 076da08
app/code/Magento/Checkout/Model/Session.php
@@ -221,7 +221,7 @@ public function getQuote()
221
$customerId = $this->_customer
222
? $this->_customer->getId()
223
: $this->_customerSession->getCustomerId();
224
- if ($quote->getData('customer_id') && $quote->getData('customer_id') !== $customerId) {
+ if ($quote->getData('customer_id') && (int)$quote->getData('customer_id') !== (int)$customerId) {
225
$quote = $this->quoteFactory->create();
226
throw new \Magento\Framework\Exception\NoSuchEntityException();
227
}
0 commit comments