Fix warning
This commit is contained in:
parent
4510295031
commit
e8ea213503
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue