From 02e41e1fc1766e3665fb584041f8c9817e0e4ee3 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 16 May 2018 13:06:35 +0800 Subject: [PATCH] * finish task #3975. --- module/product/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/product/model.php b/module/product/model.php index 8ac20f5431..6a37c1b3d4 100644 --- a/module/product/model.php +++ b/module/product/model.php @@ -596,7 +596,7 @@ class productModel extends model foreach($plans as $plan) { - if($plan->end != '0000-00-00' and strtotime($plan->end) - time() <= 0) continue; + if(($plan->end != '0000-00-00' and strtotime($plan->end) - time() <= 0) or $plan->end == '2030-01-01') continue; $year = substr($plan->end, 0, 4); $roadmap[$year][$plan->branch][] = $plan; }