mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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:
parent
a76099efc4
commit
9cdb898106
1 changed files with 6 additions and 0 deletions
|
@ -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']) )
|
||||
|
|
Loading…
Add table
Reference in a new issue