mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-12 00:12:14 +00:00
Merge pull request #89 from skipperbent/development
[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