From 7de3ac24deb62b2acac904c108a7e78119b3ecb7 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Tue, 26 Mar 2002 13:13:06 +0000 Subject: [PATCH] Fix bug with editing polls containing options with quotes git-svn-id: file:///svn/phpbb/trunk@2438 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/posting.php b/phpBB/posting.php index 61dbc349c1..35a8fd0fc1 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -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) );