Merge pull request #2645 from atm-maxime/develop
Fix : outstanding limit was not saved
This commit is contained in:
commit
07bf403354
@ -155,7 +155,7 @@ if (empty($reshook))
|
|||||||
if ($action == 'setoutstanding_limit')
|
if ($action == 'setoutstanding_limit')
|
||||||
{
|
{
|
||||||
$object->fetch($id);
|
$object->fetch($id);
|
||||||
$object->outstanding_limit=GETPOST('setoutstanding_limit');
|
$object->outstanding_limit=GETPOST('outstanding_limit');
|
||||||
$result=$object->set_OutstandingBill($user);
|
$result=$object->set_OutstandingBill($user);
|
||||||
if ($result < 0) setEventMessage($object->error,'errors');
|
if ($result < 0) setEventMessage($object->error,'errors');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user