diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-12-03 12:21:53 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-12-03 12:21:53 +0000 |
| commit | 9cdb8981062733722a379b7691dd804fbf6308f2 (patch) | |
| tree | 8af25ea93d692c75ee33cfe62a9583eb96385087 /phpBB/posting.php | |
| parent | a76099efc424baa9f372a0c43e9a8a3af87de632 (diff) | |
| download | forums-9cdb8981062733722a379b7691dd804fbf6308f2.tar forums-9cdb8981062733722a379b7691dd804fbf6308f2.tar.gz forums-9cdb8981062733722a379b7691dd804fbf6308f2.tar.bz2 forums-9cdb8981062733722a379b7691dd804fbf6308f2.tar.xz forums-9cdb8981062733722a379b7691dd804fbf6308f2.zip | |
Fix backslashing when adding poll options
git-svn-id: file:///svn/phpbb/trunk@1503 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
| -rw-r--r-- | phpBB/posting.php | 6 |
1 files changed, 6 insertions, 0 deletions
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']) ) |
