There was an error while loading. Please reload this page.
2 parents 17e4945 + 0a5a0f7 commit a50d857Copy full SHA for a50d857
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