diff --git a/index.php b/index.php index 6b28390..bc20cf6 100644 --- a/index.php +++ b/index.php @@ -69,7 +69,7 @@ if($mode==1){ if($_GET['year']>$today[2]){ $future=true; }else{ - if($_GET['month']>$today[1]){ + if($_GET['month']>$today[1] && $_GET['year']==$today[2]){ $future=true; }else{ if($_GET['day']>$today[0] && $_GET['month']==$today[1]){