Skip to content

[ticket/17472] Prevent web push fatal error when there are no users to notify#7006

Closed
ECYaz wants to merge 1 commit into
phpbb:masterfrom
ECYaz:ticket/17472
Closed

[ticket/17472] Prevent web push fatal error when there are no users to notify#7006
ECYaz wants to merge 1 commit into
phpbb:masterfrom
ECYaz:ticket/17472

Conversation

@ECYaz

@ECYaz ECYaz commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Checklist:

  • Correct branch: master for new features; 3.3.x for fixes
  • Tests pass
  • Code follows coding guidelines: master and 3.3.x
  • Commit follows commit message format

Tracker ticket:

https://tracker.phpbb.com/browse/PHPBB-17472

Web push fataled with "No values specified for SQL IN comparison" when removing banned users left nobody to notify. The queue is now emptied and skipped instead.

…o notify

notify_using_webpush() ran sql_in_set() with an empty array when
removing banned users left nobody to notify, triggering a fatal
"No values specified for SQL IN comparison" error. Return early and
empty the queue instead.

PHPBB-17472
@iMattPro

Copy link
Copy Markdown
Member

This is duplicating a fix in #6961

@ECYaz ECYaz closed this Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants