FIX replace print error with event message when error on update line in supplier order
This commit is contained in:
parent
5b6133ad62
commit
a9c76f2e44
@ -792,8 +792,7 @@ if (empty($reshook))
|
|||||||
{
|
{
|
||||||
$db->rollback();
|
$db->rollback();
|
||||||
|
|
||||||
dol_print_error($db, $object->error);
|
setEventMessages($object->error, $object->errors, 'errors');
|
||||||
exit;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user