1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 09:06:10 +02:00

Merge branch '1.x'

This commit is contained in:
Jordi Boggiano
2019-11-15 15:56:08 +01:00
2 changed files with 11 additions and 1 deletions

View File

@@ -128,7 +128,9 @@ class FilterHandler extends Handler implements ProcessableHandlerInterface, Rese
}
}
$this->getHandler($filtered[count($filtered) - 1])->handleBatch($filtered);
if (count($filtered) > 0) {
$this->getHandler($filtered[count($filtered) - 1])->handleBatch($filtered);
}
}
/**