Protéger l'appel aux variables hapy_*_hook dans les templates également.

Ref #12701
This commit is contained in:
Benjamin Bohard 2015-09-14 17:39:03 +02:00
parent d109022282
commit 7310e1afcd
1 changed files with 4 additions and 0 deletions

View File

@ -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" ]