-
Bug
-
Resolution: Fixed
-
Minor
-
3.0.8
-
None
The $template->display hook does not provide access to the $template instance that is being used. This leads to issues when sending emails, because the emails do not use the global $template but still utilise the template system.
An easy solution to this problem is to pass $this (the template instance) into the hook as an argument.