Skip to content
Snippets Groups Projects
Commit 41521562 authored by Kjartan Mannes's avatar Kjartan Mannes
Browse files

- Fixed an extra <P> in form_file().

parent 1a888395
Branches
Tags
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
......@@ -183,7 +183,7 @@ function form_select($title, $name, $value, $options, $description = 0) {
}
function form_file($title, $name, $size, $description = 0) {
return form_item($title, "<INPUT TYPE=\"file\" NAME=\"edit[$name]\" SIZE=\"$size\"><P>\n", $description);
return form_item($title, "<INPUT TYPE=\"file\" NAME=\"edit[$name]\" SIZE=\"$size\">\n", $description);
}
function form_hidden($name, $value) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment