|
From: Paul S. O. <ps...@us...> - 2001-12-03 12:21:57
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv23491
Modified Files:
posting.php
Log Message:
Fix backslashing when adding poll options
Index: posting.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/posting.php,v
retrieving revision 1.117
retrieving revision 1.118
diff -C2 -r1.117 -r1.118
*** posting.php 2001/12/02 23:54:25 1.117
--- posting.php 2001/12/03 12:21:53 1.118
***************
*** 2181,2184 ****
--- 2181,2190 ----
$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']) )
{
|