1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-13 20:28:44 +01:00

Fix backslashing when adding poll options

git-svn-id: file:///svn/phpbb/trunk@1503 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2001-12-03 12:21:53 +00:00
parent a76099efc4
commit 9cdb898106

View File

@ -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']) )