forked from Wavyzz/dolibarr
Ajout addslashes
This commit is contained in:
@@ -79,7 +79,11 @@ if ($action == 'addinfacture')
|
||||
$facture = New Facture($db);
|
||||
|
||||
$facture->fetch($HTTP_POST_VARS["factureid"]);
|
||||
$facture->addline($HTTP_POST_VARS["factureid"], $product->label, $product->price, $HTTP_POST_VARS["qty"], $product->tva_tx, $id);
|
||||
$facture->addline($HTTP_POST_VARS["factureid"],
|
||||
addslashes($product->label),
|
||||
$product->price,
|
||||
$HTTP_POST_VARS["qty"],
|
||||
$product->tva_tx, $id);
|
||||
|
||||
$action = '';
|
||||
$mesg = 'Produit ajout<75> <20> la facture ';
|
||||
|
||||
Reference in New Issue
Block a user