mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-12 05:52:16 +00:00
[BUGFIX] Fixed notice
This commit is contained in:
@@ -102,10 +102,13 @@ class RouterRoute extends RouterEntry {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
return strtolower($this->getAlias()) === strtolower($name);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the url alias for easier getting the url route.
|
||||
* @param string|array $alias
|
||||
|
||||
Reference in New Issue
Block a user