We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d378b51 commit 2797d1dCopy full SHA for 2797d1d
1 file changed
notification/method/webpush.php
@@ -202,6 +202,11 @@ protected function notify_using_webpush(): void
202
203
// Load all the users we need
204
$notify_users = array_diff($user_ids, $banned_users);
205
+ if (empty($notify_users))
206
+ {
207
+ return;
208
+ }
209
+
210
$this->user_loader->load_users($notify_users, [USER_IGNORE]);
211
212
// Get subscriptions for users
0 commit comments