diff --git a/App/Request/PathInfoProcessor.php b/App/Request/PathInfoProcessor.php index 4af1aca..bd672dd 100644 --- a/App/Request/PathInfoProcessor.php +++ b/App/Request/PathInfoProcessor.php @@ -29,7 +29,7 @@ public function __construct( public function process(RequestInterface $request, $pathInfo): string { $storeCode = $this->storePathInfoValidator->getValidStoreCode($request, $pathInfo); - if (!empty($storeCode)) { + if ($storeCode !== null) { try { $path = $this->pathResolver->resolve($this->storeRepository->getActiveStoreByCode($storeCode)); } catch (LocalizedException) {