läuft schon

This commit is contained in:
2022-12-17 01:18:54 +01:00
parent 147fd66fff
commit 6c48baac3d
17 changed files with 506 additions and 182 deletions

View File

@ -79,7 +79,7 @@ class Auth
protected function fetchUser($user_id)
{
try {
$fetch_user_by_id = "SELECT id, email, name, qr_id FROM dogs WHERE id=:id";
$fetch_user_by_id = "SELECT id, email, qr_id FROM dogs WHERE id=:id";
$query_stmt = $this->db->prepare($fetch_user_by_id);
$query_stmt->bindValue(':id', $user_id, PDO::PARAM_INT);
$query_stmt->execute();