Use etemplate_widget_menupopup::fix_encoded_options() to handle select options set by get_rows functions.

Fixes tracker CRM view stops working after filtering.
This commit is contained in:
Nathan Gray 2015-09-23 15:32:36 +00:00
parent 773fbf7eea
commit 0a43abbec2

View File

@ -649,17 +649,7 @@ class etemplate_widget_nextmatch extends etemplate_widget
{
foreach($row as &$options)
{
foreach($options as &$label)
{
if(!is_array($label))
{
$label = html_entity_decode($label, ENT_NOQUOTES,'utf-8');
}
else if ($label['label'])
{
$label['label'] = html_entity_decode($label['label'], ENT_NOQUOTES,'utf-8');
}
}
etemplate_widget_menupopup::fix_encoded_options($options, true);
}
}
$rows[$n] = $row;