From 0d0a939ab121b5646bd7a4e22056f75d97eaa6ee Mon Sep 17 00:00:00 2001 From: Gerhard Killesreiter Date: Fri, 21 Apr 2006 06:43:03 +0000 Subject: [PATCH] #47544, Checkboxes, radios, and improper use of LABELs., patch by Zen --- includes/form.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/form.inc b/includes/form.inc index 5aef91b1956..cde568fd25c 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'];