From d817519ddca74556002703105a7780e04dc68220 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 19 Feb 2006 15:09:33 +0000 Subject: [PATCH] bug #15796 --- 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 fd4fdb60b83..37b1cf386c6 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) ."'"; - $sql .= ",prefix_comm = ".($this->prefix_comm?"'".$this->prefix_comm."'":"null"); + $sql .= ",prefix_comm = ".addslashes($this->prefix_comm?"'".$this->prefix_comm."'":"null"); $sql .= ",fk_effectif = ".($this->effectif_id?"'".$this->effectif_id."'":"null");