Fix update supplier ref on supplier invoice

This commit is contained in:
phf 2016-05-10 14:27:24 +02:00
parent 06eeb0ced4
commit a57e0f5fd3

View File

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