Testing a fix to the monthly news search.

This commit is contained in:
Jeff Teunissen 2001-05-06 02:51:16 +00:00
parent e51b4f7bde
commit 2a866c0c94

View file

@ -195,8 +195,8 @@
function monthlyNews ($month, $year) function monthlyNews ($month, $year)
{ {
// Do sanity checking on dates // Do sanity checking on dates
if (((!is_int ($year)) || $year < 2000)) { if (((!is_int ($year)) || $year < 00)) {
$year = date ('Y', time ()); $year = date ('y', time ());
} }
if ($month < 1 || $month > 12) { if ($month < 1 || $month > 12) {