MantisBT: master-1.2.x 2a042504

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2015-06-24 04:24 master-1.2.x baaebb0d
Affected Issues  0019879: Download page triggers errors when file does not exist
Changeset

Trigger generic error when downloading non-existent attachment

This prevents PHP warnings and notices as the code attempts to process
an empty result set from the query.

Backport from b96e49d5e6d43c2fa89d894222a89b308485d1d8

Fixes 0019879

mod - file_download.php Diff File