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

Modifications sur les pages d'erreur

This commit is contained in:
Yohann
2019-09-02 21:19:21 +02:00
parent 273bd05944
commit 946d261c71
8 changed files with 29 additions and 51 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)
error404();
include "404.php";
$tournament_data = $DB->query("SELECT `name`, `date_start` FROM `tournaments` WHERE `id` = '" . $team_data["tournament"] . "' AND `year` = '$YEAR';")->fetch();