Correction d'un problème dans le téléchargement des solutions (vue orga)
This commit is contained in:
parent
f5e73ae2ed
commit
44e3e3f639
|
@ -5,7 +5,7 @@ if (!isset($_SESSION["role"]) || $_SESSION["role"] != Role::ADMIN && $_SESSION["
|
|||
|
||||
if (isset($_POST["download_zip"])) {
|
||||
$id = $_POST["tournament"];
|
||||
$sols = $tournament->getAllSolutions();
|
||||
$tournament = Tournament::fromId($id);
|
||||
|
||||
$file_name = getZipFile(DocumentType::SOLUTION, $id);
|
||||
|
||||
|
|
Loading…
Reference in New Issue