MantisBT: master 8392a9b6

Author Committer Branch Timestamp Parent
dregad dregad master 2015-08-13 07:51 master 3378c770
Affected Issues  0020018: Copied bug attachments have wrong ownership
Changeset

Set bug attachment ownership when copying them

file_copy_attachments() did not set user_id when inserting the new
attachment, resulting in that field being set to 0.

The user_id is now set to the original issue's.

Fixes 0020018

mod - core/file_api.php Diff File