Commit 50040920 authored by webchick's avatar webchick

#335035 follow-up by andypost: Fixed failure in tests.

parent 5e32593f
......@@ -1654,7 +1654,7 @@ function form_type_checkboxes_value($element, $input = FALSE) {
$value = array();
$element += array('#default_value' => array());
foreach ($element['#default_value'] as $key) {
$value[$key] = 1;
$value[$key] = $key;
}
return $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