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

Fixed Code Event Listener Description (controller_pre_dispatch)

Discussion in 'Resolved Bug Reports' started by Daniel Hood, Apr 29, 2015.

  1. Daniel Hood

    Daniel Hood Well-Known Member

    upload_2015-4-29_9-43-12.png

    The callback signature should read:

    PHP:
    XenForo_Controller $controller$action$controllerName
    to match the arguments descriptions below it.
     
    imthebest, Xon, Steve F and 1 other person like this.
  2. Liam W

    Liam W Well-Known Member

    I can't believe I've never noticed that myself... I've used that listener on loads of occasions.

    Liam
     
  3. Mike

    Mike XenForo Developer Staff Member

    Sorted now, thanks.
     
    Daniel Hood likes this.

Share This Page