From 9cdb8981062733722a379b7691dd804fbf6308f2 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Mon, 3 Dec 2001 12:21:53 +0000 Subject: [PATCH] Fix backslashing when adding poll options git-svn-id: file:///svn/phpbb/trunk@1503 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/phpBB/posting.php b/phpBB/posting.php index f56b639e8f..75672fe4eb 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -2180,6 +2180,12 @@ else if( $preview || $refresh || $error ) $poll_options = 0; $poll_option_list = array(); + + if( isset($HTTP_POST_VARS['del_poll_option']) || isset($HTTP_POST_VARS['poll_option_text']) || isset($HTTP_POST_VARS['add_poll_option']) ) + { + $post_message = stripslashes($post_message); + } + if( isset($HTTP_POST_VARS['del_poll_option']) ) { if( isset($HTTP_POST_VARS['poll_option_text']) )