[OPTIMISATION] Parameters matching optimisations.

This commit is contained in:
Simon Sessingø
2016-01-15 10:20:50 +01:00
parent b096742d6b
commit 714edf7902
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ class RouterResource extends RouterEntry {
$route = rtrim($this->url, '/') . '/{id?}/{action?}';
$parameters = $this->parseParameters($route, $url, '[0-9]*?');
$parameters = $this->parseParameters($route, $url, '[0-9]+?');
if($parameters !== null) {