Skip to content
Snippets Groups Projects
Commit 8ec14386 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#207947 by Rok Zlender: whitespace missing between error messages in file.inc

parent 66ec1499
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -560,7 +560,7 @@ function file_save_upload($source, $validators = array(), $dest = FALSE, $replac
$message .= '<ul><li>'. implode('</li><li>', $errors) .'</li></ul>';
}
else {
$message .= array_pop($errors);
$message .= ' '. array_pop($errors);
}
form_set_error($source, $message);
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment