1
0
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:
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

@@ -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()))