From 8e8ef26050df96e09c0a2b8acd6f3a57eb2a2f31 Mon Sep 17 00:00:00 2001 From: yuriybabenko Date: Wed, 8 May 2013 01:17:19 -0500 Subject: Issue #1649392 by yuriy.babenko: Single-value checkboxes not rendered properly --- includes/form.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/form.inc b/includes/form.inc index af0fd65..9cfe21b 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -136,7 +136,7 @@ function bootstrap_form_element(&$variables) { case 'after': $output = $exclude_control ? $output : $output.$control_wrapper; - $variables['#children'] = ' ' . $prefix . $element['#children'] . $suffix; + $output .= ' ' . $prefix . $element['#children'] . $suffix; $output .= ' ' . theme('form_element_label', $variables) . "\n"; break; -- 1.8.2