mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/11638] Removed the unneeded reset.
sub-task of ticket PHPBB3-11635: find and fix all bypasses of generate_text_for_* PHPBB3-11638
This commit is contained in:
parent
6c68348a71
commit
4cdccbd42b
1 changed files with 1 additions and 3 deletions
|
@ -842,8 +842,6 @@ if (!empty($topic_data['poll_start']))
|
|||
|
||||
$topic_data['poll_title'] = generate_text_for_display($topic_data['poll_title'], $poll_info[0]['bbcode_uid'], $poll_info[0]['bbcode_bitfield'], $parse_bbcode_flags, true);
|
||||
|
||||
unset($parse_bbcode_flags);
|
||||
|
||||
foreach ($poll_info as $poll_option)
|
||||
{
|
||||
$option_pct = ($poll_total > 0) ? $poll_option['poll_option_total'] / $poll_total : 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue