1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-24 15:40:27 +02:00

Divserses corrections, phase 0 terminée

This commit is contained in:
galaxyoyo
2019-09-12 16:01:40 +02:00
parent 416264b53c
commit 61bec11bdb
7 changed files with 17 additions and 16 deletions

View File

@ -134,7 +134,7 @@ class User
{
global $DB;
$this->school = $school;
$DB->prepare("UPDATE `users` SET `school` = ? WHERE `id` = ?;")->execute([SchoolClass::getName($school), $this->getId()]);
$DB->prepare("UPDATE `users` SET `school` = ? WHERE `id` = ?;")->execute([$school, $this->getId()]);
}
public function getClass()