Process entities returned along with row data in all cases

This commit is contained in:
Nathan Gray 2013-06-26 17:28:51 +00:00
parent 0fa6386b1c
commit c20029dfd6

View File

@ -472,6 +472,16 @@ class etemplate_widget_nextmatch extends etemplate_widget
}
elseif(!is_numeric($n)) // rows with string-keys, after numeric rows
{
if($n == 'sel_options')
{
foreach($row as $name => &$options)
{
foreach($options as $key => &$label)
{
$label = html_entity_decode($label, ENT_NOQUOTES,'utf-8');
}
}
}
$rows[$n] = $row;
}
}