1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-25 06:22:22 +00:00

Correction d'un problème dans le téléchargement des solutions (vue orga)

This commit is contained in:
galaxyoyo 2019-09-10 00:57:33 +02:00
parent f5e73ae2ed
commit 44e3e3f639

View File

@ -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);