Merge pull request #2554 from ivokund/patch-1

Fix for #2549
This commit is contained in:
Carsten Brandt
2014-02-26 13:49:07 +01:00

View File

@@ -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;
}
}