mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-27 22:42:57 +00:00
Testing a fix to the monthly news search.
This commit is contained in:
parent
e51b4f7bde
commit
2a866c0c94
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue