diff options
author | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-04-21 06:43:03 +0000 |
---|---|---|
committer | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-04-21 06:43:03 +0000 |
commit | 0d0a939ab121b5646bd7a4e22056f75d97eaa6ee (patch) | |
tree | bb660b71f7ca1cb2c0dd59a63fe06df2773ea12b /includes/form.inc | |
parent | 8e4524c0d81c11477d0f46985cc3f4844a85c61f (diff) | |
download | brdo-0d0a939ab121b5646bd7a4e22056f75d97eaa6ee.tar.gz brdo-0d0a939ab121b5646bd7a4e22056f75d97eaa6ee.tar.bz2 |
#47544, Checkboxes, radios, and improper use of LABELs., patch by Zen
Diffstat (limited to 'includes/form.inc')
-rw-r--r-- | includes/form.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/form.inc b/includes/form.inc index 5aef91b19..cde568fd2 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -693,7 +693,7 @@ function theme_radio($element) { */ function theme_radios($element) { if ($element['#title'] || $element['#description']) { - return theme('form_element', $element['#title'], $element['#children'], $element['#description'], $element['#id'], $element['#required'], form_get_error($element)); + return theme('form_element', $element['#title'], $element['#children'], $element['#description'], NULL, $element['#required'], form_get_error($element)); } else { return $element['#children']; @@ -902,7 +902,7 @@ function theme_checkbox($element) { */ function theme_checkboxes($element) { if ($element['#title'] || $element['#description']) { - return theme('form_element', $element['#title'], $element['#children'], $element['#description'], $element['#id'], $element['#required'], form_get_error($element)); + return theme('form_element', $element['#title'], $element['#children'], $element['#description'], NULL, $element['#required'], form_get_error($element)); } else { return $element['#children']; |