Little change
This commit is contained in:
parent
aa64266c2f
commit
d98e50e661
@ -241,7 +241,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() < 0) {
|
||||||
setEventMessage($object->error, 'errors');
|
setEventMessages($object->error, $object->errors, 'errors');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user