diff --git a/library/think/App.php b/library/think/App.php index f8c3d29c..ba102162 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 = [$$actionName]; + $vars = [$actionName]; } else { // 操作不存在 throw new HttpException(404, 'method not exists:' . get_class($instance) . '->' . $action . '()');