#### Description If you receive an error while posting/replying to a ticket and have an attachment, it is lost. ### Steps to reproduce 1. Start replying to ticket 2. Leave the message body empty 3. Attach file 4. Submit 5. Receive error 6. Add message 7. Submit 8. Attachment is corrupted ### Environment (complete as necessary) - Version/Git revision: SMF 2.1.4 - Database Type: MySQL - Database Version: 5.7 ### Additional information/references