- Patch #40486 by chx/netbjarne: duplicate form id's breaks html validation.

4.7.x
Dries Buytaert 2005-12-15 22:47:16 +00:00
parent ff8dab6095
commit b6dba6fa8e
1 changed files with 1 additions and 1 deletions

View File

@ -669,7 +669,7 @@ function theme_button($element) {
* A themed HTML string representing the hidden form field. * A themed HTML string representing the hidden form field.
*/ */
function theme_hidden($element) { function theme_hidden($element) {
return '<input type="hidden" name="'. $element['#name'] . '" id="' . $element['#id'] . '" value="'. check_plain($element['#value']) ."\" " . drupal_attributes($element['#attributes']) ." />\n"; return '<input type="hidden" name="'. $element['#name'] . '" value="'. check_plain($element['#value']) ."\" " . drupal_attributes($element['#attributes']) ." />\n";
} }
/** /**