Merge pull request #2645 from atm-maxime/develop

Fix : outstanding limit was not saved
This commit is contained in:
Laurent Destailleur 2015-04-18 18:49:53 +02:00
commit 07bf403354

View File

@ -155,7 +155,7 @@ if (empty($reshook))
if ($action == 'setoutstanding_limit')
{
$object->fetch($id);
$object->outstanding_limit=GETPOST('setoutstanding_limit');
$object->outstanding_limit=GETPOST('outstanding_limit');
$result=$object->set_OutstandingBill($user);
if ($result < 0) setEventMessage($object->error,'errors');
}