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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user