diff --git a/htdocs/societe.class.php b/htdocs/societe.class.php index 5e834ef8962..2f079b41cfd 100644 --- a/htdocs/societe.class.php +++ b/htdocs/societe.class.php @@ -316,7 +316,7 @@ class Societe { $sql .= ",tva_intra = '" . addslashes($this->tva_intra) ."'"; $sql .= ",capital = '" . addslashes($this->capital) ."'"; - if ($this->prefix_comm) $sql .= ",prefix_comm = ".($this->prefix_comm?"'".$this->prefix_comm."'":"null"); + $sql .= ",prefix_comm = ".($this->prefix_comm?"'".$this->prefix_comm."'":"null"); if ($this->effectif_id) $sql .= ",fk_effectif = '" . $this->effectif_id ."'";