summaryrefslogtreecommitdiffstats
path: root/pages/achievements.php
diff options
context:
space:
mode:
authorBlueRaja <BlueRaja.admin@gmail.com>2013-01-15 22:36:27 -0600
committerBlueRaja <BlueRaja.admin@gmail.com>2013-01-15 22:36:27 -0600
commit3990b65956331263b0963f695ddc88b4c3356af0 (patch)
tree5a6c3c84f201c054437f056c6b13372becea260f /pages/achievements.php
parentc7d671712a9d5f90752475960c3a602aeb0da8d0 (diff)
downloadpathery-3990b65956331263b0963f695ddc88b4c3356af0.tar.xz
Added totalMoves and totalMazes to users; and isTiedForHighScore to solutions (for convenience)
Diffstat (limited to 'pages/achievements.php')
-rw-r--r--pages/achievements.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/achievements.php b/pages/achievements.php
index 6dbabe7..e3f9e8d 100644
--- a/pages/achievements.php
+++ b/pages/achievements.php
@@ -328,8 +328,8 @@ $sql = "
SELECT
users.displayName,
users.isAdmin,
- SUM(solutions.moves) as totalMoves,
- COUNT(*) as totalSolutions,
+ users.totalMoves,
+ users.totalMazes AS totalSolutions,
IfNull(userData.wallColor, '#666666'),
IfNull(userData.displayColor, '#cccccc'),
userData.wallEmblem