mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
#13657 - thanks Thatbitextra
git-svn-id: file:///svn/phpbb/trunk@7917 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user