Browse Source

PHP syntax fix

tags/2.0.0-beta
Alexander Makarov 13 years ago
parent
commit
39bc042d55
  1. 2
      framework/logging/Router.php

2
framework/logging/Router.php

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

Loading…
Cancel
Save