MantisBT: fix-20018b 59b66a2f

Author Committer Branch Timestamp Parent
dregad dregad fix-20018b 2015-08-13 07:51 fix-20018b 1ca48c1a
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