From ef597395ba6d19754ce28b0dcaf42a7db1b92569 Mon Sep 17 00:00:00 2001 From: BENKE Charlie Date: Wed, 6 Jan 2016 10:34:55 +0100 Subject: [PATCH] Update doc_generic_order_odt.modules.php --- .../core/modules/commande/doc/doc_generic_order_odt.modules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/commande/doc/doc_generic_order_odt.modules.php b/htdocs/core/modules/commande/doc/doc_generic_order_odt.modules.php index 305b7e18161..52a8bfd2093 100644 --- a/htdocs/core/modules/commande/doc/doc_generic_order_odt.modules.php +++ b/htdocs/core/modules/commande/doc/doc_generic_order_odt.modules.php @@ -287,7 +287,7 @@ class doc_generic_order_odt extends ModelePDFCommandes complete_substitutions_array($substitutionarray, $langs, $object); // Call the ODTSubstitution hook $parameters=array('file'=>$file,'object'=>$object,'outputlangs'=>$outputlangs,'substitutionarray'=>&$substitutionarray); - $reshook=$hookmanager->executeHooks('ODTSubstitution',$parameters,$this,$action); // Note that $action and $object may have been modified by some hooks + $reshook=$hookmanager->executeHooks('ODTSubstitutionInit',$parameters,$this,$action); // Note that $action and $object may have been modified by some hooks // Line of free text $newfreetext='';