From d4ab8576b283ad029131a59386a22f917fd0a31c Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 24 May 2016 16:49:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3Route=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Route.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Route.php b/library/think/Route.php index 55ca38ff..8d140f46 100644 --- a/library/think/Route.php +++ b/library/think/Route.php @@ -650,7 +650,7 @@ class Route if (is_array($route)) { $option1 = $route[1]; // 检查参数有效性 - if (!self::checkOption($option1, $url, $rquest)) { + if (!self::checkOption($option1, $url, $request)) { continue; } $pattern = array_merge($pattern, isset($route[2]) ? $route[2] : []);