mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/12327] Coding style fixes
PHPBB3-12327
This commit is contained in:
parent
bf37342c86
commit
e850e49a1b
1 changed files with 4 additions and 4 deletions
|
@ -873,8 +873,8 @@ if (!empty($topic_data['poll_start']))
|
||||||
'POLL_OPTION_PERCENT_REL' => $option_pct_rel_txt,
|
'POLL_OPTION_PERCENT_REL' => $option_pct_rel_txt,
|
||||||
'POLL_OPTION_PCT' => round($option_pct * 100),
|
'POLL_OPTION_PCT' => round($option_pct * 100),
|
||||||
'POLL_OPTION_WIDTH' => round($option_pct * 250),
|
'POLL_OPTION_WIDTH' => round($option_pct * 250),
|
||||||
'POLL_OPTION_VOTED' => (in_array($poll_option['poll_option_id'], $cur_voted_id)) ? true : false)
|
'POLL_OPTION_VOTED' => (in_array($poll_option['poll_option_id'], $cur_voted_id)) ? true : false,
|
||||||
);
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
$poll_end = $topic_data['poll_length'] + $topic_data['poll_start'];
|
$poll_end = $topic_data['poll_length'] + $topic_data['poll_start'];
|
||||||
|
@ -894,8 +894,8 @@ if (!empty($topic_data['poll_start']))
|
||||||
'S_IS_MULTI_CHOICE' => ($topic_data['poll_max_options'] > 1) ? true : false,
|
'S_IS_MULTI_CHOICE' => ($topic_data['poll_max_options'] > 1) ? true : false,
|
||||||
'S_POLL_ACTION' => $viewtopic_url,
|
'S_POLL_ACTION' => $viewtopic_url,
|
||||||
|
|
||||||
'U_VIEW_RESULTS' => $viewtopic_url . '&view=viewpoll')
|
'U_VIEW_RESULTS' => $viewtopic_url . '&view=viewpoll',
|
||||||
);
|
));
|
||||||
|
|
||||||
unset($poll_end, $poll_info, $voted_id);
|
unset($poll_end, $poll_info, $voted_id);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue