mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-08 14:16:42 +02:00
Only send header when there is a value, fixes #352
This commit is contained in:
@@ -130,7 +130,9 @@ class ChromePHPHandler extends AbstractProcessingHandler
|
|||||||
$data = base64_encode(utf8_encode($json));
|
$data = base64_encode(utf8_encode($json));
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->sendHeader(self::HEADER_NAME, $data);
|
if (trim($data) !== '') {
|
||||||
|
$this->sendHeader(self::HEADER_NAME, $data);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user