1
0
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:
Yohann
2019-12-19 09:50:32 +01:00
parent 6218fcd2c2
commit 7463817503
4 changed files with 39 additions and 32 deletions

View File

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