mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-03 11:47:38 +02:00
Only send header when there is a value, refs #352
This commit is contained in:
@@ -143,8 +143,10 @@ class FirePHPHandler extends AbstractProcessingHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
$header = $this->createRecordHeader($record);
|
$header = $this->createRecordHeader($record);
|
||||||
|
if (trim(current($header)) !== '') {
|
||||||
$this->sendHeader(key($header), current($header));
|
$this->sendHeader(key($header), current($header));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Verifies if the headers are accepted by the current user agent
|
* Verifies if the headers are accepted by the current user agent
|
||||||
|
Reference in New Issue
Block a user