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 6063c2a commit 908e5b3Copy full SHA for 908e5b3
App/Request/PathInfoProcessor.php
@@ -29,7 +29,7 @@ public function __construct(
29
public function process(RequestInterface $request, $pathInfo): string
30
{
31
$storeCode = $this->storePathInfoValidator->getValidStoreCode($request, $pathInfo);
32
- if (!empty($storeCode)) {
+ if ($storeCode !== null) {
33
try {
34
$path = $this->pathResolver->resolve($this->storeRepository->getActiveStoreByCode($storeCode));
35
} catch (LocalizedException) {
0 commit comments