From 743967a9b3c9f81067a1cc4abf05bb4f4869db16 Mon Sep 17 00:00:00 2001 From: BENKE Charlie Date: Wed, 6 Jan 2016 10:35:43 +0100 Subject: [PATCH] Update doc_generic_shipment_odt.modules.php --- .../modules/expedition/doc/doc_generic_shipment_odt.modules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/expedition/doc/doc_generic_shipment_odt.modules.php b/htdocs/core/modules/expedition/doc/doc_generic_shipment_odt.modules.php index 01d341ba39d..8f62d74882a 100644 --- a/htdocs/core/modules/expedition/doc/doc_generic_shipment_odt.modules.php +++ b/htdocs/core/modules/expedition/doc/doc_generic_shipment_odt.modules.php @@ -288,7 +288,7 @@ class doc_generic_shipment_odt extends ModelePdfExpedition 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='';