mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Fix bug with editing polls containing options with quotes
git-svn-id: file:///svn/phpbb/trunk@2438 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
24bf0e140d
commit
7de3ac24de
1 changed files with 1 additions and 1 deletions
|
@ -1064,7 +1064,7 @@ if( ( $mode == 'newtopic' || ( $mode == 'editpost' && $post_data['first_post'] )
|
||||||
while( list($option_id, $option_text) = each($poll_options) )
|
while( list($option_id, $option_text) = each($poll_options) )
|
||||||
{
|
{
|
||||||
$template->assign_block_vars('poll_option_rows', array(
|
$template->assign_block_vars('poll_option_rows', array(
|
||||||
'POLL_OPTION' => $option_text,
|
'POLL_OPTION' => str_replace("\"", """, $option_text),
|
||||||
|
|
||||||
'S_POLL_OPTION_NUM' => $option_id)
|
'S_POLL_OPTION_NUM' => $option_id)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue