bugfix: future-detection of months in same year
parent
0e0a7a5138
commit
82418d8d1a
|
|
@ -69,7 +69,7 @@ if($mode==1){
|
||||||
if($_GET['year']>$today[2]){
|
if($_GET['year']>$today[2]){
|
||||||
$future=true;
|
$future=true;
|
||||||
}else{
|
}else{
|
||||||
if($_GET['month']>$today[1]){
|
if($_GET['month']>$today[1] && $_GET['year']==$today[2]){
|
||||||
$future=true;
|
$future=true;
|
||||||
}else{
|
}else{
|
||||||
if($_GET['day']>$today[0] && $_GET['month']==$today[1]){
|
if($_GET['day']>$today[0] && $_GET['month']==$today[1]){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue