Skip to content

Commit c1f8a7c

Browse files
authored
Merge pull request #55 from JapSeyz/patch-1
Bugfix
2 parents ed111d8 + bb9284f commit c1f8a7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebPushChannel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function send($notifiable, Notification $notification)
3030
{
3131
$subscriptions = $notifiable->routeNotificationFor('WebPush');
3232

33-
if ($subscriptions->isEmpty()) {
33+
if (! $subscriptions || $subscriptions->isEmpty()) {
3434
return;
3535
}
3636

0 commit comments

Comments
 (0)