diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2007-07-18 12:51:57 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2007-07-18 12:51:57 +0000 |
commit | 6aaf78de29947dbaf9df8a89698495f3f478533f (patch) | |
tree | 171c0e6a0e29fab2342e3d35ea1e5a597874cf81 | |
parent | 6276165b6d631c326b07e3ba9834717bed35d7dd (diff) | |
download | forums-6aaf78de29947dbaf9df8a89698495f3f478533f.tar forums-6aaf78de29947dbaf9df8a89698495f3f478533f.tar.gz forums-6aaf78de29947dbaf9df8a89698495f3f478533f.tar.bz2 forums-6aaf78de29947dbaf9df8a89698495f3f478533f.tar.xz forums-6aaf78de29947dbaf9df8a89698495f3f478533f.zip |
Some more quote workarounds.
git-svn-id: file:///svn/phpbb/trunk@7903 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/install/convertors/functions_phpbb20.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/install/convertors/functions_phpbb20.php b/phpBB/install/convertors/functions_phpbb20.php index db1fe7ea8d..7daefabdce 100644 --- a/phpBB/install/convertors/functions_phpbb20.php +++ b/phpBB/install/convertors/functions_phpbb20.php @@ -1204,6 +1204,10 @@ function phpbb_prepare_message($message) { $message = preg_replace('/\[quote="(.*?)"\]/s', '[quote="\1"]', $message); $message = preg_replace('/\[quote=\\\"(.*?)\\\"\]/s', '[quote="\1"]', $message); + + // let's hope that this solves more problems than it causes. Deal with escaped quotes. + $message = str_replace('\"', '"', $message); + $message = str_replace('\"', '"', $message); } // Already the new user id ;) |