mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-16 06:17:56 +08:00
Merge branch 'master' of https://github.com/yiisoft/yii2
This commit is contained in:
@@ -89,7 +89,7 @@ abstract class Target extends \yii\base\Component
|
||||
*/
|
||||
public function collect($messages, $final)
|
||||
{
|
||||
$this->_messages = array($this->_messages, $this->filterMessages($messages));
|
||||
$this->_messages = array_merge($this->_messages, $this->filterMessages($messages));
|
||||
$count = count($this->_messages);
|
||||
if ($count > 0 && ($final || $this->exportInterval > 0 && $count >= $this->exportInterval)) {
|
||||
if (($context = $this->getContextMessage()) !== '') {
|
||||
|
||||
Reference in New Issue
Block a user