Commit 39bc042d by Alexander Makarov

PHP syntax fix

parent c3a71941
...@@ -127,7 +127,7 @@ class Router extends \yii\base\ApplicationComponent ...@@ -127,7 +127,7 @@ class Router extends \yii\base\ApplicationComponent
{ {
$messages = \Yii::getLogger()->messages; $messages = \Yii::getLogger()->messages;
$export = !isset($event->params['export']) || $event->params['export']; $export = !isset($event->params['export']) || $event->params['export'];
$final = !isset($event-params['flush']) || !$event->params['flush']; $final = !isset($event->params['flush']) || !$event->params['flush'];
foreach ($this->_targets as $target) { foreach ($this->_targets as $target) {
if ($target->enabled) { if ($target->enabled) {
$target->processMessages($messages, $export, $final); $target->processMessages($messages, $export, $final);
......
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