diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-03-13 17:41:35 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-03-13 17:41:35 -0700 |
commit | 9b0b31db4eb2eddd674366cc79228cd66fb0b1bb (patch) | |
tree | 2f85165c27688f33c1e0208e8a31c837296cae26 /includes/datas.php | |
parent | 9fbb3e859be5efc164a4612f33df6ebb541bea2b (diff) | |
download | pathery-9b0b31db4eb2eddd674366cc79228cd66fb0b1bb.tar.xz |
Fix 'Perfect Days' SUM not COUNT isTiedForHighScore
Diffstat (limited to 'includes/datas.php')
-rw-r--r-- | includes/datas.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/datas.php b/includes/datas.php index 83399c7..d79e3ae 100644 --- a/includes/datas.php +++ b/includes/datas.php @@ -553,7 +553,7 @@ function getAchievementCurrency($userID, $aType) { IN ( 1, 2, 3, 4 ) AND solutions.userID = '$userID' GROUP BY solutions.userID, mapOfTheDay.mapDate - HAVING COUNT( isTiedForHighScore ) = 4"; + HAVING SUM( isTiedForHighScore ) = 4"; $result = mysql_query($sql) OR die("SQL query failed; $sql"); return mysql_num_rows($result); break; |