Merge pull request #19838 from OPEN-DSI/v12-fix-supplier-order-print-error

FIX replace print error with event message when error on update line …
This commit is contained in:
Laurent Destailleur 2022-01-23 13:37:09 +01:00 committed by GitHub
commit a0154503f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -792,8 +792,7 @@ if (empty($reshook))
{ {
$db->rollback(); $db->rollback();
dol_print_error($db, $object->error); setEventMessages($object->error, $object->errors, 'errors');
exit;
} }
} }