Skip to content

Commit

Permalink
🐞 fix: Use backticks in SQL query
Browse files Browse the repository at this point in the history
  • Loading branch information
DNA-styx committed Dec 20, 2024
1 parent 4c9e757 commit efedfde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/top10hlxce-announce.sp
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ void CheckTop10(int userid, const char[] auth)
char query[512];

Format(query, sizeof(query),
"SELECT COUNT(*) AS 'rank' \
"SELECT COUNT(*) AS `rank` \
FROM hlstats_Players \
WHERE \
hlstats_Players.game = '%s' AND \
Expand Down

0 comments on commit efedfde

Please sign in to comment.