mirror of
https://github.com/Seldaek/monolog.git
synced 2025-02-24 06:52:34 +01:00
Update PushoverHandler.php
This commit is contained in:
parent
15fe95e194
commit
1ad2cc0d84
@ -122,7 +122,7 @@ class PushoverHandler extends SocketHandler
|
||||
// Least important info should be merged with subsequent info
|
||||
$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)) {
|
||||
unset($dataArray['sound']);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user