From a30b366b2b274765c9677e6f2c707cac2df4b5aa Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 28 Jun 2012 20:01:50 +0200 Subject: [PATCH] Fix: Can't modifiy accountancy code sell --- htdocs/product/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index e6c3240fd4a..11121edf567 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -126,7 +126,7 @@ if (empty($reshook)) $action=""; } - if ($action == 'setaccountancy_code_buy') + if ($action == 'setaccountancy_code_sell') { $object->fetch($id,$ref); $result = $object->setValueFrom('accountancy_code_sell', $_POST['accountancy_code_sell']);