@@ -70,7 +70,7 @@ |
||
| 70 | 70 | |
| 71 | 71 | if (!empty($route->getWhere())) { |
| 72 | 72 | foreach ($route->getWhere() as $attribute => $where) { |
| 73 | - $path = preg_replace('#{('.$attribute.')}#', '('.$where.')', $path); |
|
| 73 | + $path = preg_replace('#{(' . $attribute . ')}#', '(' . $where . ')', $path); |
|
| 74 | 74 | } |
| 75 | 75 | } |
| 76 | 76 | $path = preg_replace("#{([\w]+)}#", '([^/]+)', $path); |