1
0
Fork 0
forked from anton/matekasse
This commit is contained in:
2000-Trek 2023-07-05 23:14:16 +02:00
parent b6602a70e7
commit 2deafa4eaf

View file

@ -172,7 +172,7 @@ def change():
change = int(request.args.get("change"))
except:
return '<p>Error: 095</p><a href="/list">tags and user list</a>'
c.execute(f"SELECT * FROM users WHERE id=?", [user_id])
c.execute(f"SELECT * FROM users WHERE id='?'", [user_id])
users = c.fetchall()
if users != []:
balance_old = users[0][2]