mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-10 07:11:43 +00:00
This one should work.
This commit is contained in:
parent
ecf4ef49a1
commit
4483b8109d
1 changed files with 3 additions and 2 deletions
|
@ -198,11 +198,12 @@
|
|||
if (((!is_int ($year)) || $year < 2000)) {
|
||||
$year = date ('Y', time ());
|
||||
}
|
||||
|
||||
|
||||
if ($month < 1 || $month > 12) {
|
||||
$month = date ('m', time ());
|
||||
}
|
||||
$date = "00-01";
|
||||
|
||||
$date = sprintf ("%02d-%02d", $year - 2000, $month);
|
||||
|
||||
if (sqlAvail) {
|
||||
$conn = @mysql_pconnect (sqlHost, sqlUser, sqlPass);
|
||||
|
|
Loading…
Reference in a new issue