1
0
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:
Paul S. Owen
2002-03-26 13:13:06 +00:00
parent 24bf0e140d
commit 7de3ac24de

View File

@ -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)
);