Skip to content
Snippets Groups Projects
Commit 7c26f328 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #5190 from atm-ph/fix_3.8_update_ref_fourn_on_supplier_invoice

Fix update supplier ref on supplier invoice
parents a5e35035 a57e0f5f
No related branches found
No related tags found
No related merge requests found
...@@ -240,7 +240,7 @@ if (empty($reshook)) ...@@ -240,7 +240,7 @@ if (empty($reshook))
{ {
$object->ref_supplier = GETPOST('ref_supplier', 'alpha'); $object->ref_supplier = GETPOST('ref_supplier', 'alpha');
if ($object->update() < 0) { if ($object->update($user) < 0) {
setEventMessages($object->error, $object->errors, 'errors'); setEventMessages($object->error, $object->errors, 'errors');
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment