Skip to content

Commit 0c7844e

Browse files
skylineopskylineop
authored andcommitted
15959 Extension attributes of quote on checkout page fixes
1 parent e818039 commit 0c7844e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/Model/DefaultConfigProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ private function getQuoteData()
397397
if ($this->checkoutSession->getQuote()->getId()) {
398398
$quote = $this->quoteRepository->get($this->checkoutSession->getQuote()->getId());
399399
$quoteData = $quote->toArray();
400-
if (is_object($quote->getExtensionAttributes())) {
400+
if (null !== $quote->getExtensionAttributes()) {
401401
$quoteData['extension_attributes'] = $quote->getExtensionAttributes()->__toArray();
402402
}
403403
$quoteData['is_virtual'] = $quote->getIsVirtual();

0 commit comments

Comments
 (0)