Fix warning
This commit is contained in:
parent
4510295031
commit
e8ea213503
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user