Commit 210ccc49 authored by Dries's avatar Dries

- Patch #748768 by fgm, yched: list_field_formatter_view() used incorrect variable.

parent 23cbbcb1
......@@ -344,7 +344,7 @@ function list_field_formatter_view($entity_type, $entity, $field, $instance, $la
}
else {
// If no match was found in allowed values, fall back to the key.
$output = field_filter_xss($value);
$output = field_filter_xss($item['value']);
}
$element[$delta] = array('#markup' => $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