Code comment

This commit is contained in:
Laurent Destailleur 2018-06-13 19:22:50 +02:00
parent 03b6bec8b8
commit 6fbdcea356

View File

@ -362,7 +362,7 @@ class doc_generic_odt extends ModeleThirdPartyDoc
} }
catch(OdfException $e) catch(OdfException $e)
{ {
// setVars failed, probably because key not found // setVars failed, probably because key not found
} }
} }
@ -378,8 +378,8 @@ class doc_generic_odt extends ModeleThirdPartyDoc
} }
} }
// Call the beforeODTSave hook // Call the beforeODTSave hook
$parameters=array('odfHandler'=>&$odfHandler,'file'=>$file,'object'=>$object,'outputlangs'=>$outputlangs,'substitutionarray'=>&$tmparray); $parameters=array('odfHandler'=>&$odfHandler,'file'=>$file,'object'=>$object,'outputlangs'=>$outputlangs,'substitutionarray'=>&$tmparray);
$reshook=$hookmanager->executeHooks('beforeODTSave',$parameters,$this,$action); // Note that $action and $object may have been modified by some hooks $reshook=$hookmanager->executeHooks('beforeODTSave',$parameters,$this,$action); // Note that $action and $object may have been modified by some hooks
// Write new file // Write new file