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 | |
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
-rw-r--r-- | phpBB/docs/CHANGELOG.html | 3 | ||||
-rw-r--r-- | phpBB/posting.php | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 4450be81d6..a821985f4c 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -264,7 +264,8 @@ p a { <li>[Feature] Ability to disable birthdays completely with new board features setting</li> <li>[Fix] Fix disallowed username check (Bug #13511)</li> <li>[Fix] Allow for unicode usernames to be pruned (Bug #13643)</li> - <li>[Fix] Do not copy forum permissions from self(Bug #13663)</li> + <li>[Fix] Do not copy forum permissions from self (Bug #13663)</li> + <li>[Fix] Allow for polls to work during preview (Bug #13657) - thanks to Thatbitextra</li> </ul> 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); |