mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-30 01:56:35 +08:00
Fix #17396: Added 'invoked by controller' to the debug log message when \yii\base\Action is used
This commit is contained in:
committed by
Alexander Makarov
parent
e6d7881bbe
commit
b0a973a8da
@ -86,7 +86,7 @@ class Action extends Component
|
||||
throw new InvalidConfigException(get_class($this) . ' must define a "run()" method.');
|
||||
}
|
||||
$args = $this->controller->bindActionParams($this, $params);
|
||||
Yii::debug('Running action: ' . get_class($this) . '::run()', __METHOD__);
|
||||
Yii::debug('Running action: ' . get_class($this) . '::run()' . ', invoked by ' . get_class($this->controller), __METHOD__);
|
||||
if (Yii::$app->requestedParams === null) {
|
||||
Yii::$app->requestedParams = $args;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user