Skip to content

Commit a5670cd

Browse files
ENGCOM-1706: Fixxes #15565 #15566
- Merge Pull Request #15566 from EliasKotlyar/magento2:bugfix/15565 - Merged commits: 1. 1cbb265 2. 4d886b2
2 parents 323994f + 4d886b2 commit a5670cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Store/Model/PathConfig.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ public function shouldBeSecure($path)
8383
*/
8484
public function getDefaultPath()
8585
{
86-
return $this->scopeConfig->getValue('web/default/front', ScopeInterface::SCOPE_STORE);
86+
$store = $this->storeManager->getStore();
87+
$value = $this->scopeConfig->getValue('web/default/front', ScopeInterface::SCOPE_STORE, $store);
88+
return $value;
8789
}
8890
}

0 commit comments

Comments
 (0)