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

Only send header when there is a value, refs #352

This commit is contained in:
Jordi Boggiano
2014-04-10 17:52:42 +02:00
parent c9226dd0f8
commit 03000a7fcd

View File

@@ -143,7 +143,9 @@ class FirePHPHandler extends AbstractProcessingHandler
}
$header = $this->createRecordHeader($record);
$this->sendHeader(key($header), current($header));
if (trim(current($header)) !== '') {
$this->sendHeader(key($header), current($header));
}
}
/**