Fix warning

This commit is contained in:
Laurent Destailleur 2022-12-30 13:51:58 +01:00
parent 4510295031
commit e8ea213503

View File

@ -5058,7 +5058,7 @@ function dol_print_error($db = '', $error = '', $errors = null)
} elseif (is_array($errors)) {
$errors = array_merge(array($error), $errors);
} else {
$errors = array_merge(array($error));
$errors = array_merge(array($error), array($errors));
}
foreach ($errors as $msg) {