From: Florent Bruneau Date: Fri, 31 Aug 2007 21:40:05 +0000 (+0200) Subject: Fix select_db_table html X-Git-Tag: xorg/0.9.15~174^2~17 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=954805242a22d174ecd8f515033457fb2b9c6302;hp=92412b28cbc789932e041615d45f5bb8dd8c7874;p=platal.git Fix select_db_table html Signed-off-by: Florent Bruneau --- 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 .= '';