There was an error while loading. Please reload this page.
2 parents 846069a + 2bb1341 commit a541fa7Copy full SHA for a541fa7
1 file changed
lib/Consumer.php
@@ -95,7 +95,7 @@ public function bulkReceive(IEvent $event, array $affectedUserIds, ISetting $set
95
continue;
96
}
97
$event->setAffectedUser($affectedUser);
98
- $notificationSetting = $userPushSettings[$affectedUser];
+ $notificationSetting = $userPushSettings[$affectedUser] ?? null;
99
if ($notificationSetting !== null) {
100
$notificationSetting = (bool)$notificationSetting;
101
0 commit comments