• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed False event listener documentation

R

ragtek

Guest
#1
Listener template_create have this as callbacksignature in the documentation:

Callback signature:
$templateName, array &$params, XenForo_Template_Abstract $template

the first parameter is also a reference,
it should be
Callback signature:
&$templateName, array &$params, XenForo_Template_Abstract $template


XenForo_Template_Abstract line83:
PHP:
XenForo_CodeEvent::fire('template_create', array(&$templateName, &$params, $this));