Fixed Param template is not available in email:MAIL_CONTAINER


Well-known member
Affected version
2.2.8 PL 1
In templates public:PAGE_CONTAINER and admin:PAGE_CONTAINER, the rendered templare can be accessed via $template.

This parameter is missing in email:MAIL_CONTAINER which is a bit unfortunate and seems inconsinstent with the other template types.

XF Bug Bot

XenForo bug fixer bot
Staff member
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.9).

Change log:
Include `$template` in `$params` sent to email container templates
There may be a delay before changes are rolled out to the XenForo Community.