1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-30 14:41:18 +02:00

First week fixes

This commit is contained in:
Yohann D'ANELLO
2020-05-05 01:06:57 +02:00
parent a064cc1817
commit 132481fda0
22 changed files with 541 additions and 59 deletions

View File

@ -166,6 +166,8 @@ function canValidate(Team $team, Tournament $tournament)
$d = $req->fetch();
$can_validate &= $d["version"] > 0;*/
$can_validate &= date("Y-m-d H:i:s") <= $tournament->getInscriptionDate();
return $can_validate;
}