From f620e6948fc711c560fd823c6846bd8e989a23d3 Mon Sep 17 00:00:00 2001
From: Christophe Battarel <christophe.battarel@altairis.fr>
Date: Mon, 11 Mar 2013 09:08:57 +0100
Subject: [PATCH] fix wrong value name when updating buyingprice

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

diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php
index 86a7c6526ba..2a86d879928 100644
--- a/htdocs/comm/propal.php
+++ b/htdocs/comm/propal.php
@@ -908,7 +908,7 @@ else if ($action == 'updateligne' && $user->rights->propal->creer && GETPOST('sa
 			GETPOST('fk_parent_line'),
 			0,
 			$fournprice,
-			$buying_price,
+			$buyingprice,
 			$label,
 			$type
 		);
-- 
GitLab