修正错误

This commit is contained in:
thinkphp
2016-11-21 12:14:36 +08:00
parent a4669f04bf
commit a3a76b9bcf

View File

@@ -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 . '()');