From 82418d8d1ab6211628f10d0621735c9a5b3c5f6d Mon Sep 17 00:00:00 2001 From: agp8x Date: Thu, 1 Jan 2015 03:41:10 +0100 Subject: [PATCH] bugfix: future-detection of months in same year --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]){