From b6dba6fa8e10ccd2ac5b9d440d7fc30d20fe37a8 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Thu, 15 Dec 2005 22:47:16 +0000 Subject: [PATCH] - Patch #40486 by chx/netbjarne: duplicate form id's breaks html validation. --- includes/form.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/form.inc b/includes/form.inc index 3af3d1375e37..05515fe131fd 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -669,7 +669,7 @@ function theme_button($element) { * A themed HTML string representing the hidden form field. */ 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"; } /** -- GitLab