Commit 7b0e6bdf authored by juampy's avatar juampy Committed by Mike Keran
Browse files

Issue #1697656 by juampy: Undefined variable output when rendering a checkbox

parent 04433c42
...@@ -414,7 +414,7 @@ function bef_checkbox($element, $value, $label, $selected) { ...@@ -414,7 +414,7 @@ function bef_checkbox($element, $value, $label, $selected) {
$print_term_count = ' (' . taxonomy_term_count_nodes($value) . ')'; $print_term_count = ' (' . taxonomy_term_count_nodes($value) . ')';
} }
$item = "$checkbox <label class='option' for='$id'>$label$print_term_count</label>"; $item = "$checkbox <label class='option' for='$id'>$label$print_term_count</label>";
$output .= theme('form_element', $properties, $item); $output = theme('form_element', $properties, $item);
return $output; return $output;
} }
......
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