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 {
  • [Feature] Ability to disable birthdays completely with new board features setting
  • [Fix] Fix disallowed username check (Bug #13511)
  • [Fix] Allow for unicode usernames to be pruned (Bug #13643)
  • -
  • [Fix] Do not copy forum permissions from self(Bug #13663)
  • +
  • [Fix] Do not copy forum permissions from self (Bug #13663)
  • +
  • [Fix] Allow for polls to work during preview (Bug #13657) - thanks to Thatbitextra
  • 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('
    ', $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);