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 "