From 2c3e577c4ec16ed89766267774fd8d113193cf88 Mon Sep 17 00:00:00 2001 From: hide_d Date: Mon, 21 May 2018 03:54:43 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=A4=EB=AC=B8=EC=A1=B0=EC=82=AC=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/a_vote.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hwe/a_vote.php b/hwe/a_vote.php index 92505fb7..485186df 100644 --- a/hwe/a_vote.php +++ b/hwe/a_vote.php @@ -335,10 +335,10 @@ if ($admin['voteopen'] >= 2 || $session->userGrade >= 5) { for ($k=0; $k < $voteTypeCount; $k++) { if($memCount == 0){ $per = 0; + continue; } - else{ - $per = round($nationVote[$nation['nation']][$k]??0 / $memCount * 100, 1); - } + + $per = round($nationVote[$nation['nation']][$k]??0 / $memCount * 100, 1); if($i == $voteTypeCount-1){ $per = 100-$totalPer; @@ -353,7 +353,7 @@ if ($admin['voteopen'] >= 2 || $session->userGrade >= 5) {
-
+