chore: Типы

This commit is contained in:
origami11@yandex.ru 2025-12-11 16:08:16 +03:00
parent 481f76add4
commit 5988eca22b

View file

@ -74,7 +74,9 @@ class User implements UserInterface
if ($result) {
$time = time();
$id = $this->id;
$this->db->executeQuery("UPDATE users SET lasttime = $time WHERE id_user = $id"); // Время входа
$this->db->executeQuery(
"UPDATE users SET lasttime = :time WHERE id_user = :id",
['time' => $time, 'id' => $id]); // Время входа
}
return $result;
}