From eec5432a5e65e78c68f15dc7d559104af9761392 Mon Sep 17 00:00:00 2001 From: Graham Eames Date: Sun, 9 Apr 2006 20:07:01 +0000 Subject: [PATCH] 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 --- phpBB/includes/functions_post.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpBB/includes/functions_post.php b/phpBB/includes/functions_post.php index a73ea20fa7..077da90cb6 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 {