diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2012-03-19 19:27:48 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2012-03-19 19:27:48 -0700 |
commit | 40f8d7239e33119b4b6df8901da072a35ea98baa (patch) | |
tree | d7c76ba08212d44c03b8d0a912f930b6ef818456 /pages | |
parent | 2f084afa390dd1e5dc2774860472553fcb7474f5 (diff) | |
download | pathery-40f8d7239e33119b4b6df8901da072a35ea98baa.tar.xz |
Fixed the Y2k style bug for scoreboard.
Diffstat (limited to 'pages')
-rw-r--r-- | pages/leaderboard.php | 2 |
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;
|