1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-07-31 10:20:14 +02:00

Merge pull request #1055 from chonaso/master

Fix Comparison operator in RotatingFileHandler
This commit is contained in:
Jordi Boggiano
2018-06-08 20:30:13 +02:00
committed by GitHub

View File

@@ -98,7 +98,7 @@ class RotatingFileHandler extends StreamHandler
$this->mustRotate = !file_exists($this->url);
}
if ($this->nextRotation < $record['datetime']) {
if ($this->nextRotation <= $record['datetime']) {
$this->mustRotate = true;
$this->close();
}