diff --git a/includes/form.inc b/includes/form.inc
index 3af3d1375e37bdbac44bf6a322749572b86c2625..05515fe131fd68af866a4bb81c13dc41d5f99fdd 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";
 }
 
 /**