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 e818039 commit 0c7844eCopy full SHA for 0c7844e
app/code/Magento/Checkout/Model/DefaultConfigProvider.php
@@ -397,7 +397,7 @@ private function getQuoteData()
397
if ($this->checkoutSession->getQuote()->getId()) {
398
$quote = $this->quoteRepository->get($this->checkoutSession->getQuote()->getId());
399
$quoteData = $quote->toArray();
400
- if (is_object($quote->getExtensionAttributes())) {
+ if (null !== $quote->getExtensionAttributes()) {
401
$quoteData['extension_attributes'] = $quote->getExtensionAttributes()->__toArray();
402
}
403
$quoteData['is_virtual'] = $quote->getIsVirtual();
0 commit comments