FIX #5207
This commit is contained in:
parent
06eeb0ced4
commit
1bba8166f8
@ -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 New Issue
Block a user