Fixing style errors.

This commit is contained in:
stickler-ci 2022-12-09 11:58:27 +00:00
parent 93ee9a7496
commit 488a434c8b

View File

@ -754,14 +754,14 @@ class Mo extends CommonObject
$error++; $error++;
} }
if(!$error){ if (!$error) {
$res = $this->deleteCommon($user, $notrigger); $res = $this->deleteCommon($user, $notrigger);
if($res < 0){ if ($res < 0) {
$error++; $error++;
} }
} }
if(!$error){ if (!$error) {
dol_syslog(get_class($this)."::delete ".$this->id." by ".$user->id, LOG_DEBUG); dol_syslog(get_class($this)."::delete ".$this->id." by ".$user->id, LOG_DEBUG);
$this->db->commit(); $this->db->commit();
return $res; return $res;