mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-24 05:01:23 +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)
|
||||
{
|
||||
// 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) {
|
||||
|
|
Loading…
Reference in a new issue