From 1a6e39fc692dca0dab0fd17206b1f95bb9d6dc10 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 19 Feb 2006 15:11:37 +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 37b1cf386c6..56437491d5b 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 = ".addslashes($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");