From e9d981078dc4ddd763dc484eca15512cd24154e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B0=B4=E5=B9=B3=E5=87=A1?= Date: Wed, 6 Jul 2016 09:37:30 +0800 Subject: [PATCH] Update Url.php --- library/think/Url.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/think/Url.php b/library/think/Url.php index ff47870b..e7e06a4b 100644 --- a/library/think/Url.php +++ b/library/think/Url.php @@ -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)) {