Fixed Push templates do not have access to $xf, but alert templates do

Affected version
2.1.3

Xon

Well-known member
The push template rendering does not include the stock $xf variable which is available for other template rendering systems. This means alert templates which are used as fall-back push templates may unexpected not work correctly if they have a dependency on the $xf global variable.
 

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.4).

Change log:
Make global '$xf' variable available to push templates
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
  • Like
Reactions: Bob
Top