mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 14:32:19 +01:00 
			
		
		
		
	Diverses corrections
This commit is contained in:
		@@ -194,7 +194,7 @@ class Team
 | 
			
		||||
	public static function getAllTeams($only_not_validated = false)
 | 
			
		||||
	{
 | 
			
		||||
		global $DB, $YEAR;
 | 
			
		||||
		$req = $DB->query("SELECT * FROM `teams` WHERE " . ($only_not_validated ? "`validation_status` = 'NOT_READY' AND " : "") .  "`year` = $YEAR;");
 | 
			
		||||
		$req = $DB->query("SELECT * FROM `teams` WHERE " . ($only_not_validated ? "`validation_status` = 0 AND " : "") .  "`year` = $YEAR;");
 | 
			
		||||
 | 
			
		||||
		$teams = [];
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user