Skip to content

Commit 3a13b6d

Browse files
Merge 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)
2 parents baf146c + b9df95d commit 3a13b6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)