aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-01-22 12:07:32 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-01-22 12:07:32 +0000
commit4e7d5e88c60971a22a4b598d11eebff0e2ac84ac (patch)
tree7237eee1123fa5adcba4bf6ab212ca9427d44466 /phpBB/viewtopic.php
parente4be0ca79951d9ee13d85504d1c9d16391389f63 (diff)
downloadforums-4e7d5e88c60971a22a4b598d11eebff0e2ac84ac.tar
forums-4e7d5e88c60971a22a4b598d11eebff0e2ac84ac.tar.gz
forums-4e7d5e88c60971a22a4b598d11eebff0e2ac84ac.tar.bz2
forums-4e7d5e88c60971a22a4b598d11eebff0e2ac84ac.tar.xz
forums-4e7d5e88c60971a22a4b598d11eebff0e2ac84ac.zip
tiny addition
git-svn-id: file:///svn/phpbb/trunk@5072 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 69e183d0e6..131dabe440 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -666,6 +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_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)
);