diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2005-01-22 12:24:33 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-01-22 12:24:33 +0000 |
commit | 055aef50030304a2a3a50e5a91bdb29a8b76ac64 (patch) | |
tree | 56978359f0bdc878297dce0e64c9e605a19bd3b4 /phpBB | |
parent | 4e7d5e88c60971a22a4b598d11eebff0e2ac84ac (diff) | |
download | forums-055aef50030304a2a3a50e5a91bdb29a8b76ac64.tar forums-055aef50030304a2a3a50e5a91bdb29a8b76ac64.tar.gz forums-055aef50030304a2a3a50e5a91bdb29a8b76ac64.tar.bz2 forums-055aef50030304a2a3a50e5a91bdb29a8b76ac64.tar.xz forums-055aef50030304a2a3a50e5a91bdb29a8b76ac64.zip |
damn
git-svn-id: file:///svn/phpbb/trunk@5073 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/viewtopic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 131dabe440..e80452d027 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -666,7 +666,7 @@ if (!empty($poll_start)) 'POLL_OPTION_CAPTION' => $poll_option['poll_option_text'], 'POLL_OPTION_RESULT' => $poll_option['poll_option_total'], 'POLL_OPTION_PERCENT' => $option_pct_txt, - 'POLL_OPTION_PCT' => ($option_pct * 100), + 'POLL_OPTION_PCT' => round($option_pct * 100), 'POLL_OPTION_IMG' => $user->img('poll_center', $option_pct_txt, round($option_pct * 250)), 'POLL_OPTION_VOTED' => (in_array($poll_option['poll_option_id'], $cur_voted_id)) ? true : false) ); |