[BUGFIX] Fixed notice

This commit is contained in:
Simon Sessingø
2016-04-09 15:38:45 +02:00
parent 22563671c5
commit f3ac9dc47c
+4 -1
View File
@@ -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