|
From: Paul S. O. <ps...@us...> - 2002-03-26 13:13:10
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv5306
Modified Files:
posting.php
Log Message:
Fix bug with editing polls containing options with quotes
Index: posting.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/posting.php,v
retrieving revision 1.155
retrieving revision 1.156
diff -C2 -r1.155 -r1.156
*** posting.php 23 Mar 2002 22:18:04 -0000 1.155
--- posting.php 26 Mar 2002 13:13:06 -0000 1.156
***************
*** 1065,1069 ****
{
$template->assign_block_vars('poll_option_rows', array(
! 'POLL_OPTION' => $option_text,
'S_POLL_OPTION_NUM' => $option_id)
--- 1065,1069 ----
{
$template->assign_block_vars('poll_option_rows', array(
! 'POLL_OPTION' => str_replace("\"", """, $option_text),
'S_POLL_OPTION_NUM' => $option_id)
|