mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
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:
parent
773fbf7eea
commit
0a43abbec2
@ -649,17 +649,7 @@ class etemplate_widget_nextmatch extends etemplate_widget
|
|||||||
{
|
{
|
||||||
foreach($row as &$options)
|
foreach($row as &$options)
|
||||||
{
|
{
|
||||||
foreach($options as &$label)
|
etemplate_widget_menupopup::fix_encoded_options($options, true);
|
||||||
{
|
|
||||||
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');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$rows[$n] = $row;
|
$rows[$n] = $row;
|
||||||
|
Loading…
Reference in New Issue
Block a user