Fix: Can't modifiy accountancy code sell

This commit is contained in:
Laurent Destailleur 2012-06-28 19:59:33 +02:00
parent 0b56923de5
commit 52c2d39194

View File

@ -126,7 +126,7 @@ if (empty($reshook))
$action=""; $action="";
} }
if ($action == 'setaccountancy_code_buy') if ($action == 'setaccountancy_code_sell')
{ {
$object->fetch($id,$ref); $object->fetch($id,$ref);
$result = $object->setValueFrom('accountancy_code_sell', $_POST['accountancy_code_sell']); $result = $object->setValueFrom('accountancy_code_sell', $_POST['accountancy_code_sell']);