forked from swiftmailer/swiftmailer
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug swiftmailer#907 Fix sorting MIME children when their types are eq…
…ual (Hans Adema) This PR was squashed before being merged into the 5.x branch (closes swiftmailer#907). Discussion ---------- Fix sorting MIME children when their types are equal Currently, if a message has two MIME children with the same content type, they will be added in their inverted order. In most cases, this won't matter, but for some e-mails (like X-ARF, which has two text/plain parts, one with human readable and one with YAML content), this is problematic. This small fix ensures the original ordering is preserved when the typePrefs are identical. Commits ------- fe6f150 Fix sorting MIME children when their types are equal
- Loading branch information
Showing
2 changed files
with
54 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters