mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 12:32:18 +01:00 
			
		
		
		
	Quelques vérifications temporelles et autres
This commit is contained in:
		@@ -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();
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user