mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-26 07:17:36 +02:00
Un encandrant peut encadrer plusieurs équipes
This commit is contained in:
@ -15,6 +15,8 @@ if ($user === null)
|
||||
require_once "server_files/404.php";
|
||||
|
||||
$teams = $user->getTeams();
|
||||
if ($user->getRole() == Role::PARTICIPANT)
|
||||
$team = sizeof($teams) == 0 ? null : $teams[0];
|
||||
|
||||
$has_error = false;
|
||||
$error_message = null;
|
||||
|
Reference in New Issue
Block a user