mirror of
https://github.com/Seldaek/monolog.git
synced 2025-07-11 16:46:28 +02:00
Using the correct value for parameter 'notify'
This commit is contained in:
@ -135,7 +135,9 @@ class HipChatHandler extends SocketHandler
|
|||||||
private function buildContent($record)
|
private function buildContent($record)
|
||||||
{
|
{
|
||||||
$dataArray = array(
|
$dataArray = array(
|
||||||
'notify' => $this->notify,
|
'notify' => $this->version == self::API_V1 ?
|
||||||
|
($this->notify ? 1 : 0) :
|
||||||
|
($this->notify ? 'true' : 'false'),
|
||||||
'message' => $record['formatted'],
|
'message' => $record['formatted'],
|
||||||
'message_format' => $this->format,
|
'message_format' => $this->format,
|
||||||
'color' => $this->getAlertColor($record['level']),
|
'color' => $this->getAlertColor($record['level']),
|
||||||
|
Reference in New Issue
Block a user