Commit 57cb9ec3 authored by Neslee's avatar Neslee
Browse files

Issue #3165988 by NigelCunningham: Integration with CSHS for rewriting options

parent 61c755aa
......@@ -79,6 +79,9 @@ class BetterExposedFiltersHelper {
$key = key($choice->option);
$value = &$choice->option[$key];
}
elseif (is_array($choice) && array_key_exists('name', $choice)) {
$value = &$choice['name'];
}
else {
$choice = (string) $choice;
$value = &$choice;
......
Supports Markdown
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