From 9653cfbd58cf77457875726dca983df065da7c39 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sun, 8 Feb 2004 15:37:48 +0000 Subject: [PATCH] =?UTF-8?q?Modif=20dans=20select=5Farray,=20l'affichage=20?= =?UTF-8?q?de=20l'id=20dans=20le=20libelle=20n'est=20pas=20correctement=20?= =?UTF-8?q?trait=E9=20en=20cas=20d'absence=20de=20l'id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/html.form.class.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index da9616da6da..e61f60d5122 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -331,7 +331,14 @@ class Form { while (list($key, $value) = each ($array) ) { print "\n"; + if ($key_libelle) + { + print ">[$key] $value\n"; + } + else + { + print ">$value\n"; + } } }