diff --git a/lib/news.php b/lib/news.php index a6effa3..0c5e799 100644 --- a/lib/news.php +++ b/lib/news.php @@ -195,8 +195,8 @@ function monthlyNews ($month, $year) { // Do sanity checking on dates - if (((!is_int ($year)) || $year < 2000)) { - $year = date ('Y', time ()); + if (((!is_int ($year)) || $year < 00)) { + $year = date ('y', time ()); } if ($month < 1 || $month > 12) {