From c20029dfd65975613f8b930e2faf91002383b86b Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 26 Jun 2013 17:28:51 +0000 Subject: [PATCH] Process entities returned along with row data in all cases --- etemplate/inc/class.etemplate_widget_nextmatch.inc.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/etemplate/inc/class.etemplate_widget_nextmatch.inc.php b/etemplate/inc/class.etemplate_widget_nextmatch.inc.php index 0c31774910..6ca2066838 100644 --- a/etemplate/inc/class.etemplate_widget_nextmatch.inc.php +++ b/etemplate/inc/class.etemplate_widget_nextmatch.inc.php @@ -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; } }