MantisBT: master 28751247

Author Committer Branch Timestamp Parent
dregad dregad master 2026-11-15 11:24 master 11797ab1
Affected Issues  0037027: Clone Issue Copies Hidden Private-Note Attachments Into a Visible Child Issue
Changeset

file_copy_attachments() now populates bugnote_id

Failure to do so could result in attachments linked to private bugnotes
to be copied as issue-level (public) attachments, even when the copy
operation is performed by an unprivileged user that does not have access
to private notes and could therefore not see the files attached to them.

Fixes 0037027

mod - core/file_api.php Diff File