Protéger l'appel aux variables hapy_*_hook dans les templates également.
Ref #12701
This commit is contained in:
parent
d109022282
commit
7310e1afcd
|
@ -602,6 +602,7 @@ VM_HOOK = [
|
||||||
#*******************************************************************************
|
#*******************************************************************************
|
||||||
# VM
|
# VM
|
||||||
#*******************************************************************************
|
#*******************************************************************************
|
||||||
|
%if %%hapy_vm_hooks == 'oui'
|
||||||
%for %%hook in %%hapy_vm_hook
|
%for %%hook in %%hapy_vm_hook
|
||||||
VM_HOOK = [
|
VM_HOOK = [
|
||||||
name = "%%hook",
|
name = "%%hook",
|
||||||
|
@ -619,9 +620,11 @@ VM_HOOK = [
|
||||||
%end if
|
%end if
|
||||||
]
|
]
|
||||||
%end for
|
%end for
|
||||||
|
%end if
|
||||||
#*******************************************************************************
|
#*******************************************************************************
|
||||||
# USER
|
# USER
|
||||||
#*******************************************************************************
|
#*******************************************************************************
|
||||||
|
%if %%hapy_user_hooks == 'oui'
|
||||||
%for %%hook in %%hapy_user_hook
|
%for %%hook in %%hapy_user_hook
|
||||||
USER_HOOK = [
|
USER_HOOK = [
|
||||||
name = "%%hook",
|
name = "%%hook",
|
||||||
|
@ -630,6 +633,7 @@ USER_HOOK = [
|
||||||
arguments = "%%hook.hapy_user_hook_arguments"
|
arguments = "%%hook.hapy_user_hook_arguments"
|
||||||
]
|
]
|
||||||
%end for
|
%end for
|
||||||
|
%end if
|
||||||
%end if
|
%end if
|
||||||
|
|
||||||
HM_MAD = [
|
HM_MAD = [
|
||||||
|
|
Loading…
Reference in New Issue