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:
@ -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";
|
||||
|
Reference in New Issue
Block a user