From 7c63c6db3b702a3dec52670add585daab3761dd7 Mon Sep 17 00:00:00 2001 From: ivokund Date: Wed, 26 Feb 2014 14:30:10 +0200 Subject: [PATCH] Update Action.php Fixed typo in runWithParams --- framework/base/Action.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/base/Action.php b/framework/base/Action.php index f4e32b98f3..f808a5268d 100644 --- a/framework/base/Action.php +++ b/framework/base/Action.php @@ -85,8 +85,9 @@ class Action extends Component Yii::$app->requestedParams = $args; } if ($this->beforeRun()) { - call_user_func_array([$this, 'run'], $args); + $result = call_user_func_array([$this, 'run'], $args); $this->afterRun(); + return $result; } }