diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index d89db16f105..2f746e3005e 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -224,7 +224,7 @@ if ($_POST["action"] == 'addinpropal') if ($_POST["action"] == 'addincommande') { $commande = New Commande($db); - $commande->fetch($_POST["commandid"]); + $commande->fetch($_POST["commandeid"]); $result = $commande->addline(addslashes($product->libelle), addslashes($product->description),