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

Fixed Templatehook resource_controls

Discussion in 'Resource Manager Resolved Bugs' started by xf_phantom, Apr 16, 2013.

  1. xf_phantom

    xf_phantom Well-Known Member

    In template resource_view the hook resource_controls is missing the resource param

    <xen:hook name="resource_controls" />
    should be
    <xen:hook name="resource_controls" params="{xen:array 'resource={$resource}'}" />
    It's not really needed, because it can be accessed via the template object, but all the other hooks in the template have the param, so it was little bit confusing because i tried to get it via the hookparam and it didn't work (inconstance)
  2. Mike

    Mike XenForo Developer Staff Member

    Sorted for the next release.

Share This Page