X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Ffunction.select_nat.php;h=a9720ed720b708c5e8b4fceaa69ed362978f8ef3;hb=28c20b86be8b40cecba0d83080879f81c49e07ad;hp=0d39a7b44874b1382dd957265b82dbf2adf2ea94;hpb=40214aa65f590952c7bb2a586d6d0a9446b3c0e7;p=platal.git
diff --git a/plugins/function.select_nat.php b/plugins/function.select_nat.php
index 0d39a7b..a9720ed 100644
--- a/plugins/function.select_nat.php
+++ b/plugins/function.select_nat.php
@@ -1,6 +1,6 @@
\n", ($valeur ? $sel : ""));
+ $html .= sprintf("\n", ($valeur ? $sel : ""));
}
while (list($my_id, $my_text) = $res->next()) {
- $html .= sprintf("\n", $my_id, ($valeur==$my_id ? $sel : ""), $my_text);
+ $html .= sprintf("\n", $my_id, ($valeur==$my_id ? $sel : ""), $my_text?$my_text:" ");
}
return $html;