1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-05 12:47:39 +02:00

Fix Comparison operator in RotatingFileHandler

This commit is contained in:
From now on, you will speak only when spoken to, and the first and last words out of your filthy sewers will be "Sir!
2017-09-19 20:07:32 +09:00
committed by GitHub
parent 7b99283627
commit f5d968ba95

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();
}