mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-07-04 06:12:12 +02:00
Correction d'un bug empêchant l'affichage des autorisations
This commit is contained in:
@ -137,12 +137,14 @@ class MyTeam
|
||||
|
||||
public function updateTeam()
|
||||
{
|
||||
global $URL_BASE;
|
||||
global $DB, $URL_BASE;
|
||||
|
||||
$this->team->setName($this->name);
|
||||
$this->team->setTrigram($this->trigram);
|
||||
$this->team->setProblem($this->problem);
|
||||
|
||||
$DB->exec("UPDATE `teams` SET `problem` = " . $this->problem . " WHERE `id` = " . $this->team->getId() . ";");
|
||||
|
||||
header("Location: $URL_BASE/mon-equipe");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user