X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Ffunction.select_db_table.php;h=41d1bae72f9302200971180b9e95bb38d1bf0228;hb=ff95a30266c7194bdff34f749121d43130f08b65;hp=9da1fdda4213ae63d8fc86ebc4618b83cc175d21;hpb=a7de4ef724d1a3b0bf978a50ce7cc9d23412c7a0;p=platal.git diff --git a/plugins/function.select_db_table.php b/plugins/function.select_db_table.php index 9da1fdd..41d1bae 100644 --- a/plugins/function.select_db_table.php +++ b/plugins/function.select_db_table.php @@ -1,6 +1,6 @@ '; } - $html .= ''; + $html .= ''; $optgrp = $my_grp; } - $html .= sprintf("\n", - $my_id, ($valeur==$my_id?$sel:""), $my_text); + $html .= sprintf("\n", + $my_id, $valeur==$my_id ? $sel : "", pl_entities($my_text)); } if (!is_null($optgrp)) { $html .= '';