Fixed Typo in mail template rendering exception message

NikitOS

Well-known member
Affected version
2.2.11
There is a typo in the exception message in the XF\Mail\Mailer::renderMailTemplate function:
PHP:
"Template mail:$name did not render to anything. It must provide either a text or HTML body."
The template prefix must be email:.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.12).

Change log:
Fix typo in mail template rendering exception message
There may be a delay before changes are rolled out to the XenForo Community.
 
Top Bottom