From 0bc4ed8121d0aa566c9b274ad04a7cd8eaad4f41 Mon Sep 17 00:00:00 2001
From: Regis Houssin <regis@dolibarr.fr>
Date: Mon, 9 Aug 2010 22:51:20 +0000
Subject: [PATCH] Works on capability to hook a thirdparty module.

---
 htdocs/commande/fiche.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php
index a6bc9a4f22d..9a865648e64 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'],
-- 
GitLab