MantisBT: master 27aa2b80

Author Committer Branch Timestamp Parent
dregad dregad master 2012-09-19 05:13 master 2c916ddd
Affected Issues  0014718: Clone cannot find attachments
Changeset

Cloning issues with attachments fails after upload folder changed

With attachments stored on disk, if the project's upload directory
changes and the files are moved to the new location, it is no longer
possible to clone issues.

The file_copy_attachments() function was modified to use the same logic
as elsewhere in MantisBT, i.e. rely on file_normalize_attachment_path()
to determine the attachment's path.

Fixes 0014718

mod - core/file_api.php Diff File