mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-25 01:00:28 +02:00
Bugs corrigés dans l'interface encadrant
This commit is contained in:
@ -51,6 +51,8 @@ class JoinTeam
|
||||
|
||||
public function joinTeam()
|
||||
{
|
||||
global $team;
|
||||
|
||||
$user = $_SESSION["user"];
|
||||
|
||||
$user->setTeamId($this->team->getId());
|
||||
@ -60,7 +62,7 @@ class JoinTeam
|
||||
else
|
||||
$this->team->setParticipant($this->min_null_index, $user->getId());
|
||||
|
||||
$_SESSION["team"] = $this->team;
|
||||
$team = $_SESSION["team"] = $this->team;
|
||||
|
||||
Mailer::sendJoinTeamMail($user, $this->team);
|
||||
}
|
||||
|
Reference in New Issue
Block a user