Oops
authorunc0rr
Sun, 25 Aug 2013 22:32:06 +0400
changeset 9427 c6c7e68de2a4
parent 9425 49eb707b9367
child 9429 7a97a554ac80
Oops
gameServer/OfficialServer/extdbinterface.hs
--- a/gameServer/OfficialServer/extdbinterface.hs	Sun Aug 25 21:43:47 2013 +0400
+++ b/gameServer/OfficialServer/extdbinterface.hs	Sun Aug 25 22:32:06 2013 +0400
@@ -24,7 +24,7 @@
 
 dbQueryAchievement =
     "INSERT INTO achievements (time, typeid, userid, value, filename, location) \
-    \ VALUES ((SELECT id FROM achievement_types WHERE name = ?), (SELECT uid FROM users WHERE name = ?), \
+    \ VALUES (?, (SELECT id FROM achievement_types WHERE name = ?), (SELECT uid FROM users WHERE name = ?), \
     \ ?, ?, ?)"
 
 dbInteractionLoop dbConn = forever $ do