From 8bb13380eb8946e9978a42beac81f97d82dccc3d Mon Sep 17 00:00:00 2001 From: jyhere Date: Thu, 2 Mar 2023 15:04:47 +0100 Subject: [PATCH] Remove spaces --- htdocs/core/class/commonobject.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 4d88b8bd3bb..7b3707aa360 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -5465,11 +5465,11 @@ abstract class CommonObject $parameters = array('modelspath'=>$modelspath, 'modele'=>$modele, 'outputlangs'=>$outputlangs, 'hidedetails'=>$hidedetails, 'hidedesc'=>$hidedesc, 'hideref'=>$hideref, 'moreparams'=>$moreparams); $reshook = $hookmanager->executeHooks('commonGenerateDocument', $parameters, $this, $action); // Note that $action and $object may have been modified by some hooks - + if (!empty($reshook)) { return $reshook; } - + dol_syslog("commonGenerateDocument modele=".$modele." outputlangs->defaultlang=".(is_object($outputlangs) ? $outputlangs->defaultlang : 'null')); if (empty($modele)) { @@ -5526,7 +5526,7 @@ abstract class CommonObject $this->errors[] = $this->error; dol_syslog($this->error, LOG_ERR); return -1; - } + } // If generator was found global $db; // Required to solve a conception default making an include of code using $db instead of $this->db just after. @@ -5589,7 +5589,7 @@ abstract class CommonObject if (in_array(get_class($this), array('Adherent'))) { $resultwritefile = $obj->write_file($this, $outputlangs, $srctemplatepath, 'member', 1, 'tmp_cards', $moreparams); } else { - $resultwritefile = $obj->write_file($this, $outputlangs, $srctemplatepath, $hidedetails, $hidedesc, $hideref, $moreparams); + $resultwritefile = $obj->write_file($this, $outputlangs, $srctemplatepath, $hidedetails, $hidedesc, $hideref, $moreparams); } // After call of write_file $obj->result['fullpath'] is set with generated file. It will be used to update the ECM database index.