This commit is contained in:
Laurent Destailleur 2016-05-13 23:12:53 +02:00
parent 06eeb0ced4
commit 1bba8166f8

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