mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-27 03:58:45 +02:00
Quelques vérifications temporelles et autres
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
include 'config.php';
|
||||
|
||||
$tournaments_response = $DB->query("SELECT `id`, `name` FROM `tournaments` WHERE `year` = '$YEAR';");
|
||||
$tournaments_response = $DB->query("SELECT `id`, `name` FROM `tournaments` WHERE `date_inscription` > CURRENT_DATE AND `year` = '$YEAR';");
|
||||
|
||||
if (isset($_POST["submitted"])) {
|
||||
$error_message = registerTeam();
|
||||
|
Reference in New Issue
Block a user