Skip to content

Fixes a minor bug with an empty, optional file attachment

Latest
Compare
Choose a tag to compare
@hiasl hiasl released this 01 Mar 09:51
· 1 commit to v2 since this release
fixes attachment bug

If an optional file attachment is empty, Mailer.php will cause an error because it only checks if $submission->attachment is null (which it never is, because it is always an array).