From a7ca06c6ca08cf004a6904e46c2daa78ab4a40f5 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Fri, 31 Aug 2007 23:40:05 +0200 Subject: [PATCH] Fix select_db_table html Signed-off-by: Florent Bruneau --- plugins/function.select_db_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/function.select_db_table.php b/plugins/function.select_db_table.php index edea562..eef9e1d 100644 --- a/plugins/function.select_db_table.php +++ b/plugins/function.select_db_table.php @@ -49,7 +49,7 @@ function select_options($table,$valeur,$champ="text",$pad=false, $optgrp = $my_grp; } $html .= sprintf("\n", - $my_id, ($valeur==$my_id?$sel:""), $my_text); + $my_id, $valeur==$my_id ? $sel : "", pl_entities($my_text)); } if (!is_null($optgrp)) { $html .= ''; -- 2.1.4