[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,8 +102,11 @@ class RouterRoute extends RouterEntry {
return true; return true;
} }
} }
} else {
return strtolower($this->getAlias()) === strtolower($name);
} }
return strtolower($this->getAlias()) === strtolower($name);
return false;
} }
/** /**