Skip to content

Commit 809ec05

Browse files
author
Oleksii Korshenko
committed
#11460: [ISSUE-11140][BUGFIX] Skip store code admin from being detected in case of store code in url configured
- fixed static tests
1 parent ef6bada commit 809ec05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Store/App/Request/PathInfoProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function process(\Magento\Framework\App\RequestInterface $request, $pathI
4343
}
4444

4545
if ($store->isUseStoreInUrl()) {
46-
if (!$request->isDirectAccessFrontendName($storeCode) && $storeCode != Store::ADMIN_CODE ) {
46+
if (!$request->isDirectAccessFrontendName($storeCode) && $storeCode != Store::ADMIN_CODE) {
4747
$this->storeManager->setCurrentStore($store->getCode());
4848
$pathInfo = '/' . (isset($pathParts[1]) ? $pathParts[1] : '');
4949
return $pathInfo;

0 commit comments

Comments
 (0)