Fix : outstanding limit was not saved

This commit is contained in:
Maxime Kohlhaas 2015-04-18 18:48:50 +02:00
parent 08dfcf3afc
commit 8e4771daa0

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');
}