From 6fbdcea356da5ebaa8c38e7f57a26c49ca84102a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 13 Jun 2018 19:22:50 +0200 Subject: [PATCH] Code comment --- .../core/modules/societe/doc/doc_generic_odt.modules.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/core/modules/societe/doc/doc_generic_odt.modules.php b/htdocs/core/modules/societe/doc/doc_generic_odt.modules.php index 4bdc083228e..0b4cba3f801 100644 --- a/htdocs/core/modules/societe/doc/doc_generic_odt.modules.php +++ b/htdocs/core/modules/societe/doc/doc_generic_odt.modules.php @@ -362,7 +362,7 @@ class doc_generic_odt extends ModeleThirdPartyDoc } 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 - $parameters=array('odfHandler'=>&$odfHandler,'file'=>$file,'object'=>$object,'outputlangs'=>$outputlangs,'substitutionarray'=>&$tmparray); + // Call the beforeODTSave hook + $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 // Write new file @@ -418,7 +418,7 @@ class doc_generic_odt extends ModeleThirdPartyDoc $odfHandler=null; // Destroy object $this->result = array('fullpath'=>$file); - + return 1; // Success } else