Commit cc2a0476 authored by Neslee's avatar Neslee
Browse files

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

parent db3361dd
......@@ -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;
......
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