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:
@ -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()
|
||||
|
Reference in New Issue
Block a user