mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-24 17:00:31 +02:00
Desgn "Mon compte" & mini-corrections
This commit is contained in:
@ -240,7 +240,7 @@ class User
|
||||
{
|
||||
global $DB;
|
||||
$this->receive_animath_mails = $receive_animath_mails;
|
||||
$DB->prepare("UPDATE `users` SET `receive_animath_mails` = ? WHERE `id` = ?;")->execute([$receive_animath_mails, $this->getId()]);
|
||||
$DB->prepare("UPDATE `users` SET `receive_animath_mails` = ? WHERE `id` = ?;")->execute([$receive_animath_mails ? 1 : 0, $this->getId()]);
|
||||
}
|
||||
|
||||
public function getAllDocuments($problem)
|
||||
|
Reference in New Issue
Block a user