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",
|
||||
@ -630,6 +633,7 @@ USER_HOOK = [
|
||||
arguments = "%%hook.hapy_user_hook_arguments"
|
||||
]
|
||||
%end for
|
||||
%end if
|
||||
%end if
|
||||
|
||||
HM_MAD = [
|
||||
|
Loading…
Reference in New Issue
Block a user