fix: Korrigiere Spaltennamen in Ranglisten-Abfrage
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
parent
44c68ed319
commit
9d040d10e2
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ class Ranking {
|
|||
// 3. Hole alle Tipps für diese Spiele
|
||||
$placeholders = implode(',', array_fill(0, count($game_ids), '?'));
|
||||
$stmt_tipps = $db->prepare("
|
||||
SELECT user_id, game_id, tipp1, tipp2, joker
|
||||
SELECT user_id, game_id, score1 AS tipp1, score2 AS tipp2, joker
|
||||
FROM tipps
|
||||
WHERE game_id IN ($placeholders)
|
||||
");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue