From a87098bd3957f340fec2c43362fef27a29d0be48 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sat, 13 Sep 2003 13:46:41 +0000 Subject: [PATCH] Ajout addslashes bug #5265 --- htdocs/compta/facture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 84f42f5f46d..dc430a675fa 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -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,