mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-25 09:40:29 +02:00
Phase 4 & fin des correspondances
This commit is contained in:
@ -45,7 +45,7 @@ class NewVideo
|
||||
global $DB, $YEAR, $team;
|
||||
|
||||
$req = $DB->prepare("INSERT INTO `videos`(`team`, `problem`, `link`, `reason`, `year`) VALUES (?, ?, ?, ?, ?)");
|
||||
$req->execute([$team->getId(), $team->getProblem(), $this->link, "SOLUTION", $YEAR]);
|
||||
$req->execute([$team->getId(), $team->getProblem(), $this->link, Reason::getName(Reason::SOLUTION), $YEAR]);
|
||||
|
||||
Mailer::sendNewVideo($this, $team);
|
||||
}
|
||||
|
Reference in New Issue
Block a user