diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index a6bc9a4f22ddc02a155fe56754177fdc4170febe..9a865648e64f25f33e0f3129f8c2368388fc43af 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -582,7 +582,7 @@ if ($_POST['action'] == 'updateligne' && $user->rights->commande->creer && $_POS if ($result >= 0) { - $result = $commande->updateline($_POST['elrowid'], + $result = $commande->updateline($_POST['lineid'], $description, $_POST['pu'], $_POST['qty'],