1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-03 00:02:50 +02:00

Modifications mineures

This commit is contained in:
Yohann D'ANELLO
2020-01-21 12:43:13 +01:00
parent cd70de049a
commit 6fe398d965
10 changed files with 43 additions and 36 deletions

View File

@ -135,9 +135,9 @@ else {
<label for="organizers">Organisateur·s :</label>
<select class="custom-select" id="organizers" name="organizers[]" multiple size="4" required>
<?php
while (($orga_data = $orgas_response->fetch()) !== FALSE) {
echo "<option value=\"" . $orga_data["id"] . "\" " . ($tournament->organize($orga_data["id"]) ? "selected" : "")
. ">" . $orga_data["first_name"] . " " . $orga_data["surname"] . "</option>\n";
foreach (User::getOrganizers() as $orga) {
echo "<option value=\"" . $orga->getId() . "\" " . ($tournament->organize($orga->getId()) ? "selected" : "")
. ">" . $orga->getFirstName() . " " . $orga->getSurname() . "</option>\n";
}
?>
</select>