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

Fixed Templatehook resource_controls


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)