Commit dcee2995 authored by andyg5000's avatar andyg5000 Committed by joseph.olstad

Issue #2856864 by andyg5000: Multi-cardinality reference fields break...

Issue #2856864 by andyg5000: Multi-cardinality reference fields break taxonomy_field_formatter_prepare_view
parent 1e0c3744
......@@ -348,7 +348,7 @@ function media_wysiwyg_filter_field_parser($tag_info) {
}
}
// Multi-value select lists show up here with 3 array items.
elseif (count($parsed_field) == 3 && is_numeric($parsed_field[2])) {
elseif (count($parsed_field) == 3 && (empty($parsed_field[2]) || is_numeric($parsed_field[2]))) {
$info = field_info_field($parsed_field[0]);
// They just need the value column.
$parsed_field[3] = key($info['columns']);
......
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