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