mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-10 15:22:13 +00:00
Another test.
This commit is contained in:
parent
2a866c0c94
commit
ff6ed72064
1 changed files with 3 additions and 2 deletions
|
@ -195,9 +195,10 @@
|
|||
function monthlyNews ($month, $year)
|
||||
{
|
||||
// Do sanity checking on dates
|
||||
if (((!is_int ($year)) || $year < 00)) {
|
||||
$year = date ('y', time ());
|
||||
if (((!is_int ($year)) || $year < 2000)) {
|
||||
$year = date ('Y', time ());
|
||||
}
|
||||
$year =- 2000;
|
||||
|
||||
if ($month < 1 || $month > 12) {
|
||||
$month = date ('m', time ());
|
||||
|
|
Loading…
Reference in a new issue