diff options
author | Graham Eames <grahamje@users.sourceforge.net> | 2006-04-09 20:07:01 +0000 |
---|---|---|
committer | Graham Eames <grahamje@users.sourceforge.net> | 2006-04-09 20:07:01 +0000 |
commit | eec5432a5e65e78c68f15dc7d559104af9761392 (patch) | |
tree | f00ae82446400325528a28e0f817c0bb5c1748ae | |
parent | Some changes to deal with a potential problem the new random number generator... (diff) | |
download | forums-eec5432a5e65e78c68f15dc7d559104af9761392.tar.gz forums-eec5432a5e65e78c68f15dc7d559104af9761392.tar.bz2 forums-eec5432a5e65e78c68f15dc7d559104af9761392.zip |
Address an issue with quoting messages for those with HTML enabled.
Note again that we recommend that you do not enable HTML
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5778 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/includes/functions_post.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions_post.php b/phpBB/includes/functions_post.php index a73ea20fa..077da90cb 100644 --- a/phpBB/includes/functions_post.php +++ b/phpBB/includes/functions_post.php @@ -65,6 +65,7 @@ function prepare_message($message, $html_on, $bbcode_on, $smile_on, $bbcode_uid } $message = addslashes($message); + $message = str_replace('"', '\"', $message); } else { |