Skip to content

Commit b9df95d

Browse files
⏫ Forwardport of #11165 to 2.3-develop branch
Applied pull request patch https://github.com/magento/magento2/pull/11165.patch (created by @bka) based on commit(s): 1. 33dcc36 Fixed GitHub Issues in 2.3-develop branch: - #7582: Payment methods in payments title in wrong language (reported by @Bartlomiejsz)
1 parent 8e77e2f commit b9df95d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ protected function loadQuote($loadMethod, $loadField, $identifier, array $shared
212212
if ($sharedStoreIds) {
213213
$quote->setSharedStoreIds($sharedStoreIds);
214214
}
215-
$quote->setStoreId($this->storeManager->getStore()->getId())->$loadMethod($identifier);
215+
$quote->$loadMethod($identifier)->setStoreId($this->storeManager->getStore()->getId());
216216
if (!$quote->getId()) {
217217
throw NoSuchEntityException::singleField($loadField, $identifier);
218218
}

0 commit comments

Comments
 (0)