From 03ab776e38e8d0eb5dc5041a716eb23deb8e7d55 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:31:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8F=98=E9=87=8F=E9=87=8D?= =?UTF-8?q?=E5=90=8D=E5=AF=BC=E8=87=B4=E7=9A=84URL=E5=8F=8D=E8=A7=A3?= =?UTF-8?q?=E6=9E=90=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 c6aeaeae..ff47870b 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 => $item) { - list($key, $route, $var, $option, $pattern) = $item; + foreach ($rule as $key => $ruleItem) { + list($key, $route, $var, $option, $pattern) = $ruleItem; $param = []; if (is_array($route)) {