X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Ffunction.select_db_table.php;h=41d1bae72f9302200971180b9e95bb38d1bf0228;hb=5f30b30e8b2657ade5c727e98de286386ee002d8;hp=7c598e8ce1547a0234eacf68f37f09da98c2a74a;hpb=493b6abebf3d6c35691f66fd1bfdc063efaab576;p=platal.git diff --git a/plugins/function.select_db_table.php b/plugins/function.select_db_table.php index 7c598e8..41d1bae 100644 --- a/plugins/function.select_db_table.php +++ b/plugins/function.select_db_table.php @@ -1,6 +1,6 @@ '; $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 .= '';