mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 17:12:17 +00:00
[BUGFIX] Wrong validation on domain
This commit is contained in:
@@ -134,7 +134,7 @@ class RouterBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if($route->getGroup() !== null) {
|
if($route->getGroup() !== null) {
|
||||||
if($route->getGroup()->matchDomain($this->request) === false) {
|
if($route->getGroup()->matchDomain($this->request) === null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user