diff options
author | David M <davidmj@users.sourceforge.net> | 2007-07-21 16:11:09 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2007-07-21 16:11:09 +0000 |
commit | 13aae518665d1f01aee075efe15aba68c1f3576b (patch) | |
tree | 12c2c2d509086e8360a8b9de18d4df6f27dd5bfb /phpBB/posting.php | |
parent | 9113553d8355ab439352811057eee86a6aeb1465 (diff) | |
download | forums-13aae518665d1f01aee075efe15aba68c1f3576b.tar forums-13aae518665d1f01aee075efe15aba68c1f3576b.tar.gz forums-13aae518665d1f01aee075efe15aba68c1f3576b.tar.bz2 forums-13aae518665d1f01aee075efe15aba68c1f3576b.tar.xz forums-13aae518665d1f01aee075efe15aba68c1f3576b.zip |
#13657 - thanks Thatbitextra
git-svn-id: file:///svn/phpbb/trunk@7917 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r-- | phpBB/posting.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 20a1c9c73b..282f651f43 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1070,10 +1070,11 @@ if (!sizeof($error) && $preview) $preview_poll_options = explode('<br />', $parse_poll->message); unset($parse_poll); - foreach ($preview_poll_options as $option) + foreach ($preview_poll_options as $key => $option) { $template->assign_block_vars('poll_option', array( - 'POLL_OPTION_CAPTION' => $option) + 'POLL_OPTION_CAPTION' => $option, + 'POLL_OPTION_ID' => $key + 1) ); } unset($preview_poll_options); |