From bc706444b08212f9a4eb392091bd6cafd63eb8f3 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 1 Feb 2021 13:55:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9D=E7=AE=B1=E5=A4=B8=E5=A4=A9=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webapp/controller/ActivityController.class.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/webapp/controller/ActivityController.class.php b/webapp/controller/ActivityController.class.php index 31384f8..28b3053 100644 --- a/webapp/controller/ActivityController.class.php +++ b/webapp/controller/ActivityController.class.php @@ -1599,11 +1599,16 @@ class ActivityController{ die(); return; } + array_push($info_list, array( + 'id' => $row['id'], + 'cd_time' => 0, + )); + } else { + array_push($info_list, array( + 'id' => $row['id'], + 'cd_time' => $row['cd_time'], + )); } - array_push($info_list, array( - 'id' => $row['id'], - 'cd_time' => $row['cd_time'], - )); } }