1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-25 06:20:36 +02:00

Quelques vérifications temporelles et autres

This commit is contained in:
Yohann
2019-09-02 20:57:26 +02:00
parent 35aed16e10
commit 273bd05944
8 changed files with 320 additions and 220 deletions

View File

@ -11,7 +11,7 @@ if (isset($_POST["validate"])) {
$team_data = $DB->query("SELECT * FROM `teams` WHERE `trigram` = '$trigram' AND `year` = $YEAR;")->fetch();
if ($team_data === false)
include "../404.php";
error404();
$tournament_data = $DB->query("SELECT `name`, `date_start` FROM `tournaments` WHERE `id` = '" . $team_data["tournament"] . "' AND `year` = '$YEAR';")->fetch();