summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2012-03-19 19:27:48 -0700
committerPatrick Davison <snapwilliam@gmail.com>2012-03-19 19:27:48 -0700
commit40f8d7239e33119b4b6df8901da072a35ea98baa (patch)
treed7c76ba08212d44c03b8d0a912f930b6ef818456
parent2f084afa390dd1e5dc2774860472553fcb7474f5 (diff)
downloadpathery-40f8d7239e33119b4b6df8901da072a35ea98baa.tar.xz
Fixed the Y2k style bug for scoreboard.
-rw-r--r--pages/leaderboard.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/leaderboard.php b/pages/leaderboard.php
index 1e3110b..968e4df 100644
--- a/pages/leaderboard.php
+++ b/pages/leaderboard.php
@@ -62,7 +62,7 @@ function getStat ($type, $daysago = 1) {
break;
case 4:
$where = "
- month(solutions.dateModified) = month(CURRENT_DATE)
+ ( month(solutions.dateModified) = month(CURRENT_DATE) AND year(solutions.dateModified) = year(CURRENT_DATE) )
";
$statname = "This month's Best";
break;