mirror of
				https://gitlab.com/animath/si/plateforme-corres2math.git
				synced 2025-11-04 07:42:14 +01:00 
			
		
		
		
	Bug corrigé dans la détection de validité d'une équipe
This commit is contained in:
		@@ -109,7 +109,7 @@ function canValidate(Team $team)
 | 
			
		||||
	$can_validate &= $team->getParticipants()[2] != null;
 | 
			
		||||
	$can_validate &= preg_match("#[1-4]#", $team->getProblem());
 | 
			
		||||
 | 
			
		||||
	for ($i = 1; $i <= 5; ++$i) {
 | 
			
		||||
	for ($i = 0; $i < 5; ++$i) {
 | 
			
		||||
		if ($team->getParticipants()[$i] === NULL)
 | 
			
		||||
			continue;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user