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 7a4224c commit f806391Copy full SHA for f806391
app/code/Magento/Store/App/Action/Plugin/Context.php
@@ -137,7 +137,7 @@ private function updateContext(StoreInterface $store)
137
$this->httpContext->setValue(
138
StoreManagerInterface::CONTEXT_STORE,
139
$store->getCode(),
140
- $store->isUseStoreInUrl() ? $store->getCode() : $this->storeManager->getDefaultStoreView()->getCode()
+ $store->isUseStoreInUrl() ? $store->getCode() : $defaultStore->getCode()
141
);
142
143
0 commit comments