aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/privmsg.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-03-19 01:53:19 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-03-19 01:53:19 +0000
commit8ca969ed311c6f426dde2e657049ac577815eb58 (patch)
tree24c810f89aa9e5b9b9fe588aef415d593e024c18 /phpBB/privmsg.php
parentf4cf95101b128ec7e813773ba69a706d8ca0b0ad (diff)
downloadforums-8ca969ed311c6f426dde2e657049ac577815eb58.tar
forums-8ca969ed311c6f426dde2e657049ac577815eb58.tar.gz
forums-8ca969ed311c6f426dde2e657049ac577815eb58.tar.bz2
forums-8ca969ed311c6f426dde2e657049ac577815eb58.tar.xz
forums-8ca969ed311c6f426dde2e657049ac577815eb58.zip
Fix quoting problem
git-svn-id: file:///svn/phpbb/trunk@2344 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/privmsg.php')
-rw-r--r--phpBB/privmsg.php8
1 files 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("&amp;", "&lt;", "&gt;", "&quot;");
+$html_entities_match = array("#&#", "#<#", "#>#");
+$html_entities_replace = array("&amp;", "&lt;", "&gt;");
//
// 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 )
{