From 52c2d391942c11278094c0caa5542a1202610b2f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 28 Jun 2012 19:59:33 +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 4cedfecf2d7..cf0d74b2df3 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']);