mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-08-04 05:20:16 +02:00
Modifications mineures
This commit is contained in:
@@ -25,7 +25,6 @@ if (isset($_POST["edit_tournament"])) {
|
||||
|
||||
$orgas = $tournament->getOrganizers();
|
||||
$teams = $tournament->getAllTeams();
|
||||
$orgas_response = $DB->query("SELECT `id`, `surname`, `first_name` FROM `users` WHERE (`role` = 'ORGANIZER' OR `role` = 'ADMIN') AND `year` = '$YEAR';");
|
||||
|
||||
class UpdateTournament
|
||||
{
|
||||
@@ -106,6 +105,7 @@ class UpdateTournament
|
||||
$tournament->setInscriptionDate("$this->date_inscription $this->time_inscription");
|
||||
$tournament->setSolutionsDate("$this->date_solutions $this->time_solutions");
|
||||
$tournament->setSynthesesDate("$this->date_syntheses $this->time_syntheses");
|
||||
$tournament->setDescription($this->description);
|
||||
|
||||
foreach ($this->organizers as $organizer) {
|
||||
if (!$tournament->organize($organizer->getId()))
|
||||
|
Reference in New Issue
Block a user