Fixes #1614 attachment.php PHP warning when attachment file is missing
Merge pull request #1615 from Stefan-ST/fix-1614

Fixes #1614 attachment.php PHP warning when attachment file is missing