mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 19:22: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;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
return strtolower($this->getAlias()) === strtolower($name);
|
return strtolower($this->getAlias()) === strtolower($name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the url alias for easier getting the url route.
|
* Set the url alias for easier getting the url route.
|
||||||
* @param string|array $alias
|
* @param string|array $alias
|
||||||
|
|||||||
Reference in New Issue
Block a user