Update Url.php

This commit is contained in:
水平凡
2016-07-06 09:37:30 +08:00
committed by GitHub
parent 03ab776e38
commit e9d981078d

View File

@@ -269,8 +269,8 @@ class Url
foreach ($rules as $group => $val) {
list($rule, $route, $vars, $option, $pattern) = $val;
if (is_array($rule)) {
foreach ($rule as $key => $ruleItem) {
list($key, $route, $var, $option, $pattern) = $ruleItem;
foreach ($rule as $key => $rule_item) {
list($key, $route, $var, $option, $pattern) = $rule_item;
$param = [];
if (is_array($route)) {