From 0606a1db149a907df1c419cb723744bbd64350b3 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 19 Feb 2006 15:01:33 +0000 Subject: [PATCH] Fix: le prefix ne pouvait pas s'enlever --- htdocs/societe.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ."'";