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
|
||||
#*******************************************************************************
|
||||
%if %%hapy_vm_hooks == 'oui'
|
||||
%for %%hook in %%hapy_vm_hook
|
||||
VM_HOOK = [
|
||||
name = "%%hook",
|
||||
|
@ -619,9 +620,11 @@ VM_HOOK = [
|
|||
%end if
|
||||
]
|
||||
%end for
|
||||
%end if
|
||||
#*******************************************************************************
|
||||
# USER
|
||||
#*******************************************************************************
|
||||
%if %%hapy_user_hooks == 'oui'
|
||||
%for %%hook in %%hapy_user_hook
|
||||
USER_HOOK = [
|
||||
name = "%%hook",
|
||||
|
@ -631,6 +634,7 @@ USER_HOOK = [
|
|||
]
|
||||
%end for
|
||||
%end if
|
||||
%end if
|
||||
|
||||
HM_MAD = [
|
||||
executable = "one_hm" ]
|
||||
|
|
Loading…
Reference in New Issue