From 95986b4b67f3f2b3773b2b827a85a19de87c4de8 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Mon, 13 Dec 2021 20:18:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A2=84=E8=AD=A6=E6=97=B6?= =?UTF-8?q?=E9=97=B4bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/StatementWarningController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Application/Admin/Controller/StatementWarningController.class.php b/Application/Admin/Controller/StatementWarningController.class.php index 8790f5089..83c5212f0 100644 --- a/Application/Admin/Controller/StatementWarningController.class.php +++ b/Application/Admin/Controller/StatementWarningController.class.php @@ -159,7 +159,8 @@ class StatementWarningController extends AdminController private function getYearList() { $star = 2021; - $end = date("Y",time()); + // $end = date("Y",time()); + $end = date( 'Y', strtotime('last day of + 1 months' ) ); $list = []; for ($i=$star; $i <= $end; $i++) { $temp = array(