mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-25 19:37:23 +02:00
Possibilité de ne pas choisir de problème immédiatement
This commit is contained in:
@ -45,7 +45,7 @@ class NewTeam {
|
||||
ensure(preg_match("#^[A-Z]{3}$#", $this->trigram), "Le trigramme entré n'est pas valide.");
|
||||
ensure(!teamExists($this->name), "Une équipe existe déjà avec ce nom.");
|
||||
ensure(!trigramExists($this->trigram), "Une équipe a déjà choisi ce trigramme.");
|
||||
ensure(preg_match("#[1-4]#", $this->problem), "Le problème choisi n'a pas été reconnu.");
|
||||
ensure(preg_match("#[0-4]#", $this->problem), "Le problème choisi n'a pas été reconnu.");
|
||||
}
|
||||
|
||||
public function register() {
|
||||
|
Reference in New Issue
Block a user