From ebeed712bfa8454d8e4e31abbebee10d5e3dee71 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Tue, 14 Feb 2023 22:17:26 +0800 Subject: [PATCH] fix: d7f5d58eb716042837b3cd20b2fdebf48c104c7d --- web/app/views/user-info.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/web/app/views/user-info.php b/web/app/views/user-info.php index a4c634c..61af02b 100644 --- a/web/app/views/user-info.php +++ b/web/app/views/user-info.php @@ -281,7 +281,7 @@ "date_format(submit_time, '%Y-%m-%d')", "problem_id", ]), @@ -293,14 +293,12 @@ ] ]); $last_year_ac_cnt_by_day = []; - $last_year_ac_cnt = 0; foreach ($ac_records as $record) { - $last_year_ac_cnt++; $last_year_ac_cnt_by_day[$record["submit_time"]]++; } ?>
-
+