From 8ca969ed311c6f426dde2e657049ac577815eb58 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Tue, 19 Mar 2002 01:53:19 +0000 Subject: [PATCH] Fix quoting problem git-svn-id: file:///svn/phpbb/trunk@2344 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/privmsg.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php index 01029e0c9c..2edb6edc7c 100644 --- a/phpBB/privmsg.php +++ b/phpBB/privmsg.php @@ -38,8 +38,8 @@ if( !empty($board_config['privmsg_disable']) ) // // Var definitions // -$html_entities_match = array("#&#", "#<#", "#>#", "#\"#"); -$html_entities_replace = array("&", "<", ">", """); +$html_entities_match = array("#&#", "#<#", "#>#"); +$html_entities_replace = array("&", "<", ">"); // // Parameters @@ -1334,7 +1334,7 @@ else if( $submit || $refresh || $mode != "" ) $msg_date = create_date($board_config['default_dateformat'], $privmsg['privmsgs_date'], $board_config['board_timezone']); - $privmsg_message = "[quote=\"" . $to_username . "\"]\n" . $privmsg_message . "\n[/quote]\n"; + $privmsg_message = "[quote=\"" . $to_username . "\"]" . $privmsg_message . "[/quote]\n"; $mode = "reply"; } @@ -1361,7 +1361,7 @@ else if( $submit || $refresh || $mode != "" ) { $orig_word = array(); $replacement_word = array(); - $result = obtain_word_list($orig_word, $replacement_word); + obtain_word_list($orig_word, $replacement_word); if( $bbcode_on ) {