From 0a35505fa417f4d3926b37d679dca14d7a394f08 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Mon, 13 Mar 2023 02:43:44 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=8A=B8=EB=9E=98=ED=94=BD=20=EC=9D=BC?= =?UTF-8?q?=EB=9E=8C=EC=97=90=EC=84=9C=20=EC=83=88=20=EC=A4=84=20=ED=8C=8C?= =?UTF-8?q?=EC=8B=B1=20=EB=AC=B8=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/a_traffic.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hwe/a_traffic.php b/hwe/a_traffic.php index 36c94111..18cf608a 100644 --- a/hwe/a_traffic.php +++ b/hwe/a_traffic.php @@ -23,6 +23,9 @@ $online = []; $curonline = getOnlineNum(); foreach ($log as $i => $value) { $parse = Json::decode($value); + if(count($parse) < 5){ + continue; + } $date[$i] = $parse[0]; $year[$i] = $parse[1]; $month[$i] = $parse[2];