Merge pull request #5190 from atm-ph/fix_3.8_update_ref_fourn_on_supplier_invoice
Fix update supplier ref on supplier invoice
This commit is contained in:
commit
7c26f328bb
1 changed files with 1 additions and 1 deletions
|
|
@ -240,7 +240,7 @@ if (empty($reshook))
|
|||
{
|
||||
$object->ref_supplier = GETPOST('ref_supplier', 'alpha');
|
||||
|
||||
if ($object->update() < 0) {
|
||||
if ($object->update($user) < 0) {
|
||||
setEventMessages($object->error, $object->errors, 'errors');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue