chore: Типы
This commit is contained in:
parent
481f76add4
commit
5988eca22b
1 changed files with 3 additions and 1 deletions
|
|
@ -74,7 +74,9 @@ class User implements UserInterface
|
||||||
if ($result) {
|
if ($result) {
|
||||||
$time = time();
|
$time = time();
|
||||||
$id = $this->id;
|
$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;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue