1. 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

Discussion in 'Resolved Bug Reports' started by ragtek, Jul 4, 2012.

  1. ragtek

    ragtek Guest

    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:
    XenForo_CodeEvent::fire('template_create', array(&$templateName, &$params$this));
  2. tomato

    tomato New Member

  3. Lawrence

    Lawrence Well-Known Member

    ragtek likes this.
  4. Mike

    Mike XenForo Developer Staff Member

    Slavik likes this.

Share This Page