bugfix: future-detection of months in same year

highcharts
agp8x 2015-01-01 03:41:10 +01:00
parent 0e0a7a5138
commit 82418d8d1a
1 changed files with 1 additions and 1 deletions

View File

@ -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]){