From 4cdec6c3930ead77206e0c420a256cd4d94e67a2 Mon Sep 17 00:00:00 2001 From: hide_d Date: Mon, 21 May 2018 03:39:42 +0900 Subject: [PATCH] =?UTF-8?q?=ED=88=AC=ED=91=9C=20=EB=B2=84=EA=B7=B8=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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/a_vote.php b/hwe/a_vote.php index 0d2c1a5e..2945961b 100644 --- a/hwe/a_vote.php +++ b/hwe/a_vote.php @@ -85,7 +85,7 @@ $allCount = MYDB_num_rows($result); $percentage = round($voteCount / $allCount * 100, 1); -$voteTypeCount = count($vote) - 1; +$voteTypeCount = count($vote); for ($i=1; $i < $voteTypeCount; $i++) { echo "