Correction bug #5107

This commit is contained in:
Rodolphe Quiedeville 2003-09-08 11:08:47 +00:00
parent 2dbea6eb5c
commit 061f46cba7

View File

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