mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-26 13:04:13 +02: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:
@ -1064,7 +1064,7 @@ if( ( $mode == 'newtopic' || ( $mode == 'editpost' && $post_data['first_post'] )
|
||||
while( list($option_id, $option_text) = each($poll_options) )
|
||||
{
|
||||
$template->assign_block_vars('poll_option_rows', array(
|
||||
'POLL_OPTION' => $option_text,
|
||||
'POLL_OPTION' => str_replace("\"", """, $option_text),
|
||||
|
||||
'S_POLL_OPTION_NUM' => $option_id)
|
||||
);
|
||||
|
Reference in New Issue
Block a user