1
0
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:
galaxyoyo
2019-09-24 00:12:33 +02:00
parent b0ea84c4c0
commit 22c90369e8
15 changed files with 340 additions and 24 deletions

View File

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