1
0
This commit is contained in:
Daniel Tartavel 2022-09-15 20:53:05 +02:00
parent 5879dd5add
commit f2fffd28e9

View File

@ -123,10 +123,10 @@ function votesForm($path, $libelle = "", $method = 0)
$id = $value["id"]; $id = $value["id"];
if ($id == $method) if ($id == $method)
{ {
print('<option value ="' . $id . '" selected>' . $value . '<option>'); print('<option value ="' . $id . '" selected>' . $value["libelle"] . '<option>');
}else }else
{ {
print('<option value ="' . $id . '">' . $value . '<option>'); print('<option value ="' . $id . '">' . $value["libelle"] . '<option>');
} }
} }