- Issue created by @dnt
- Merge request !21OptionList: Handle case when the current value is an array → (Merged) created by dnt
In \Drupal\cmrf_views\Plugin\views\field\OptionList::getValue()
the case when $key
is an array isn't handled. This happens when $resultRow
contains the value set in getItems()
.
Add this code:
if (is_array($key)) {
$key = $key[0];
}
Active
2.1
Code