Fixed rewrite-route not being executed in rare instances

This commit is contained in:
Simon
2023-12-09 05:36:30 +01:00
parent 99ed44eb1e
commit 0f55480156
-1
View File
@@ -562,7 +562,6 @@ class Router
if ($this->request->getRewriteRoute() !== null) { if ($this->request->getRewriteRoute() !== null) {
$this->processedRoutes[] = $this->request->getRewriteRoute(); $this->processedRoutes[] = $this->request->getRewriteRoute();
$this->request->setHasPendingRewrite(false);
} }
return $this->routeRequest(); return $this->routeRequest();