Ajout addslashes bug #5265

This commit is contained in:
Rodolphe Quiedeville 2003-09-13 13:46:41 +00:00
parent bd74a14292
commit a87098bd39

View File

@ -84,7 +84,7 @@ if ($HTTP_POST_VARS["action"] == 'add')
for ($i = 0 ; $i < sizeof($prop->lignes) ; $i++)
{
$result = $facture->addline($facid,
$prop->lignes[$i]->desc,
addslashes($prop->lignes[$i]->desc),
$prop->lignes[$i]->price,
$prop->lignes[$i]->qty,
$prop->lignes[$i]->tva_tx,