Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix breaking on HTML email without images #22143
If using html emails with no images the code breaks since it is not tested for empty (uninitialized) key images.
Related issue (if applicable): fixes #22142
Example entry for
Thank for this tip. Unfortunately you referenced the wrong line. I had to change line 154 . 157 has / should stay the same since it covers the option of having images without html. If we change it also in that line we allow data key without any subkey such as html or images. That could be the of the main preference developers to avoid errors in the log but imho it is not necessary because it does not make to have data without any subkey.
I will change the pull request.