1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-25 19:37:23 +02:00

Correction d'un bug empêchant l'affichage des autorisations

This commit is contained in:
Yohann
2019-10-03 01:38:37 +02:00
parent a2d602cd9e
commit 467892fa35
2 changed files with 3 additions and 2 deletions

View File

@ -17,7 +17,6 @@ if ($file !== null) {
$trigram = $team->getTrigram();
$user = User::fromId($file->getUserId());
$type = $file->getType();
if (($_SESSION["role"] == Role::PARTICIPANT || $_SESSION["role"] == Role::ENCADRANT) && $user->getId() != $_SESSION["user_id"])
require_once "server_files/403.php";