Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This addresses a long-time issue of the famous `DB Error osTicket#1062` when uploading an Inline File to a Draft. The issue is that the system does not check if an Attachment record exists before creating a new one. We create a new Attachment record, we go to save it, and the system errors out because that record already exists. This adds a check to see if the Attachment record already exists and if so we use that instead of creating a new one.
- Loading branch information