FIX merge errors on mailing card

This commit is contained in:
VESSILLER 2022-11-16 10:48:25 +01:00
parent 8ea9f11664
commit 6e33d1e2b1

View File

@ -508,6 +508,7 @@ if (empty($reshook)) {
exit;
}
$mesgs[] = $object->error;
$mesgs = array_merge($mesgs, $object->errors);
}
setEventMessages(null, $mesgs, 'errors');
@ -595,6 +596,7 @@ if (empty($reshook)) {
exit;
}
$mesgs[] = $object->error;
$mesgs = array_merge($mesgs, $object->errors);
}
setEventMessages($mesg, $mesgs, 'errors');