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) ) {