From 0a9694123fc6b5fe59ff0da8520f98a0a4dac938 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Sun, 20 Nov 2016 13:12:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A9=BA=E6=93=8D=E4=BD=9C=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E7=9A=84=E5=8F=82=E6=95=B0=E4=BC=A0=E5=85=A5=E5=8E=BB=E6=8E=89?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E6=96=B9=E6=B3=95=E5=90=8E=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/App.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/App.php b/library/think/App.php index 4eddc7cd..f8c3d29c 100644 --- a/library/think/App.php +++ b/library/think/App.php @@ -386,7 +386,7 @@ class App } elseif (is_callable([$instance, '_empty'])) { // 空操作 $call = [$instance, '_empty']; - $vars = [$action]; + $vars = [$$actionName]; } else { // 操作不存在 throw new HttpException(404, 'method not exists:' . get_class($instance) . '->' . $action . '()');