From 6c005f01f65c4ec8444e1f37264dbfd89ea14266 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Wed, 4 Nov 2020 14:45:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=82=E5=9C=BA=E4=B8=9A=E7=BB=A9=E6=AF=94?= =?UTF-8?q?=E4=BE=8B=E6=B0=B8=E4=B9=85=E5=88=A4=E6=96=ADbug=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/TimingController.class.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Application/Admin/Controller/TimingController.class.php b/Application/Admin/Controller/TimingController.class.php index e34aee1b6..15fa2a2cf 100644 --- a/Application/Admin/Controller/TimingController.class.php +++ b/Application/Admin/Controller/TimingController.class.php @@ -872,7 +872,7 @@ class TimingController extends AdminController { // $company_data = M('promote_company','tab_') ->field("company_belong") - ->where("id=$company_id") + ->where("id={$company_id}") ->find(); // // $game_ratio_mould = M("game_ratio_mould","tab_") @@ -1211,6 +1211,10 @@ class TimingController extends AdminController { $ungame_ids = explode(',',$cv['game_ids']); + if ($cv['end_time'] == 0 || !$cv['end_time']) { + $cv['end_time'] = 99999999999; + } + $use_begin = 0; $use_end = 0; if ($value['is_settlement'] == '0') {