X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Ffunction.select_db_table.php;h=eef9e1d64164fb61fdf91dc3d448410b833d5beb;hb=cfefeac65aa41c78c02c145070c1c6b489f5a935;hp=edea56231db8fadcf65f6e71a0f4b93a4aa466e0;hpb=eaf30d86cc99df2414cf4f171a9b0f11b0561e3b;p=platal.git 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 .= '';