mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 06:22:13 +01:00 
			
		
		
		
	Correction d'un problème dans le téléchargement des solutions (vue orga)
This commit is contained in:
		@@ -5,7 +5,7 @@ if (!isset($_SESSION["role"]) || $_SESSION["role"] != Role::ADMIN && $_SESSION["
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
if (isset($_POST["download_zip"])) {
 | 
					if (isset($_POST["download_zip"])) {
 | 
				
			||||||
    $id = $_POST["tournament"];
 | 
					    $id = $_POST["tournament"];
 | 
				
			||||||
    $sols = $tournament->getAllSolutions();
 | 
						$tournament = Tournament::fromId($id);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    $file_name = getZipFile(DocumentType::SOLUTION, $id);
 | 
					    $file_name = getZipFile(DocumentType::SOLUTION, $id);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user