Modif dans select_array, l'affichage de l'id dans le libelle n'est pas
correctement trait en cas d'absence de l'id
This commit is contained in:
parent
d54f469e32
commit
9653cfbd58
@ -331,7 +331,14 @@ class Form {
|
||||
while (list($key, $value) = each ($array) )
|
||||
{
|
||||
print "<option value=\"$key\" ";
|
||||
print ">$value</option>\n";
|
||||
if ($key_libelle)
|
||||
{
|
||||
print ">[$key] $value</option>\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
print ">$value</option>\n";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user