Skip to content

Commit ff5f7f6

Browse files
committed
MC-37484: Cart query error when trying to switch store view
1 parent eeca155 commit ff5f7f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Quote/Model/PaymentMethodManagement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function set($cartId, \Magento\Quote\Api\Data\PaymentInterface $method)
8383
throw new InvalidTransitionException(__('The requested Payment Method is not available.'));
8484
}
8585

86-
$quote->save();
86+
$this->quoteRepository->save($quote);
8787
return $quote->getPayment()->getId();
8888
}
8989

0 commit comments

Comments
 (0)