Commit 2c8e0e80 by Carsten Brandt

Merge pull request #2554 from ivokund/patch-1

Fix for #2549
parents 314cc8ab 7c63c6db
...@@ -85,8 +85,9 @@ class Action extends Component ...@@ -85,8 +85,9 @@ class Action extends Component
Yii::$app->requestedParams = $args; Yii::$app->requestedParams = $args;
} }
if ($this->beforeRun()) { if ($this->beforeRun()) {
call_user_func_array([$this, 'run'], $args); $result = call_user_func_array([$this, 'run'], $args);
$this->afterRun(); $this->afterRun();
return $result;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment