Commit ec118af1 authored by David_Rothstein's avatar David_Rothstein

Issue #1886796 by kiamlaluno: Fixed theme_checkbox() initialize a variable that is never used.

parent 6bcb0a3b
......@@ -3058,7 +3058,6 @@ function form_process_radios($element) {
function theme_checkbox($variables) {
$element = $variables['element'];
$t = get_t();
$element['#attributes']['type'] = 'checkbox';
element_set_attributes($element, array('id', 'name', '#return_value' => 'value'));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment