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

Fixed Templatehook resource_controls

xf_phantom

Well-known member
#1
In template resource_view the hook resource_controls is missing the resource param

Code:
<xen:hook name="resource_controls" />
should be
Code:
<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)