From c4ef774882e244a86d4d5aeea8cb39efd7fe67f7 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Fri, 24 Jun 2016 17:45:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Request.php b/library/think/Request.php index a88c70c3..493f7ad9 100644 --- a/library/think/Request.php +++ b/library/think/Request.php @@ -1304,7 +1304,7 @@ class Request public function dispatch($dispatch = null, $type = 'module', $params = []) { if (!is_null($dispatch)) { - $this->dispatch = ['type' => $type, $type => $dispatch, 'params' => $param]; + $this->dispatch = ['type' => $type, $type => $dispatch, 'params' => $params]; } return $this->dispatch; }