mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-11 07:34:12 +02:00
Update PushoverHandler.php
This commit is contained in:
@@ -122,7 +122,7 @@ class PushoverHandler extends SocketHandler
|
|||||||
// Least important info should be merged with subsequent info
|
// Least important info should be merged with subsequent info
|
||||||
$dataArray = array_merge($extra, $context, $dataArray);
|
$dataArray = array_merge($extra, $context, $dataArray);
|
||||||
|
|
||||||
// Get rid of sound in case it is not in the options
|
// Only pass sounds that are supported by the API
|
||||||
if (isset($dataArray['sound']) && !in_array($dataArray['sound'], $this->sounds)) {
|
if (isset($dataArray['sound']) && !in_array($dataArray['sound'], $this->sounds)) {
|
||||||
unset($dataArray['sound']);
|
unset($dataArray['sound']);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user