From ad0770d1beb23d020bf6337e02a6e36e85179ee0 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Fri, 7 Jul 2023 17:20:24 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=A0=91=EC=86=8D=EB=9F=89=20=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=20=EB=B3=80=EC=88=98=EB=AA=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/a_traffic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/a_traffic.php b/hwe/a_traffic.php index cf37a83f..4038c8fe 100644 --- a/hwe/a_traffic.php +++ b/hwe/a_traffic.php @@ -206,7 +206,7 @@ if ($admin['maxonline'] < $curonline) { ); foreach (array_merge([$totalRefresh], $top5Refresh) as $i => $user) { - $w = round($user['refresh'] / max(1, $max_refresh['refresh']) * 100, 1); + $w = round($user['refresh'] / max(1, $totalRefresh['refresh']) * 100, 1); $w2 = round(100 - $w, 1); $color = getTrafficColor($w); ?>