Skip to content

Commit

Permalink
Merge pull request #11 from EgorDm/bugfix/fix-storecode-fallback
Browse files Browse the repository at this point in the history
[BUGFIX] Fixed website_store code fallback
  • Loading branch information
Derrick Heesbeen authored Feb 24, 2020
2 parents 1919569 + 3546bcf commit 8513db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugin/Store/App/Request/PathInfoProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ public function aroundProcess(
}
$websiteCode = $website->getCode();
$newPath = $this->data->setCorrectWebsiteCodeUrl($websiteCode,$pathInfo,false);
return $proceed($request, "/". $newPath);
return $proceed($request, "/" . ltrim($newPath, '/'));
}
}

0 comments on commit 8513db4

Please sign in to comment.