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",
|
||||||
|
@ -631,6 +634,7 @@ USER_HOOK = [
|
||||||
]
|
]
|
||||||
%end for
|
%end for
|
||||||
%end if
|
%end if
|
||||||
|
%end if
|
||||||
|
|
||||||
HM_MAD = [
|
HM_MAD = [
|
||||||
executable = "one_hm" ]
|
executable = "one_hm" ]
|
||||||
|
|
Loading…
Reference in New Issue