Skip to content

Commit

Permalink
Update AppleNotification.php
Browse files Browse the repository at this point in the history
  • Loading branch information
TCB13 authored Feb 19, 2019
1 parent f51f7d4 commit 9b9fa4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function getPayload()
}

if (is_array($this->alert)) {
if (!empty($alert)) {
if (!empty($this->alert)) {
$alert = array_intersect_key($this->alert, array_fill_keys($this->supportedAlertProperties, 0));
$payload += ['alert' => $alert];
}
Expand Down

0 comments on commit 9b9fa4d

Please sign in to comment.