From 061f46cba7a9aff0b4f0d3dead47aa1f9543596c Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 8 Sep 2003 11:08:47 +0000 Subject: [PATCH] Correction bug #5107 --- htdocs/propal.class.php3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/propal.class.php3 b/htdocs/propal.class.php3 index f45afe16c84..760057ddd3d 100644 --- a/htdocs/propal.class.php3 +++ b/htdocs/propal.class.php3 @@ -76,7 +76,7 @@ class Propal { $sql = "INSERT INTO llx_propaldet (fk_propal, fk_product, qty, price, tva_tx, description) VALUES "; - $sql .= " (".$this->id.",". $idproduct.",". $qty.",". $prod->price.",".$prod->tva_tx.",'".$prod->label."') ; "; + $sql .= " (".$this->id.",". $idproduct.",". $qty.",". $prod->price.",".$prod->tva_tx.",'".addslashes($prod->label)."') ; "; if ($this->db->query($sql) ) {