Skip to content

[ticket/17716] Avoid SQL error when tracking empty files array in fil… - #7041

Open
rubencm wants to merge 1 commit into
phpbb:masterfrom
rubencm:ticket/17716
Open

rubencm wants to merge 1 commit into
phpbb:masterfrom
rubencm:ticket/17716

Conversation

@rubencm

@rubencm rubencm commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

…e_tracker

Return early in file_tracker::track_files() if the files array is empty, avoiding invalid SQL generation in sql_multi_insert.

PHPBB-17716

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-17716

…e_tracker

Return early in file_tracker::track_files() if the files array is
empty, avoiding invalid SQL generation in sql_multi_insert.

PHPBB-17716
@rubencm
rubencm marked this pull request as draft September 18, 2026 08:40
@rubencm
rubencm marked this pull request as ready for review September 18, 2026 14:51
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.

1 participant