xf_phantom
Well-known member
In template resource_view the hook resource_controls is missing the resource param
should be
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)
Code:
<xen:hook name="resource_controls" />
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)