Update doc_generic_invoice_odt.modules.php

This commit is contained in:
BENKE Charlie 2016-01-06 10:36:34 +01:00
parent 743967a9b3
commit 16d43b169c

View File

@ -299,7 +299,7 @@ class doc_generic_invoice_odt extends ModelePDFFactures
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='';