aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/convertors/functions_phpbb20.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-03-10 18:11:02 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-03-10 18:11:02 +0000
commit4359cacc98453b9297172aae8336f1f75e70bff3 (patch)
treebe11af65f5c52aa3b27e5e37da781ea83b8510f9 /phpBB/install/convertors/functions_phpbb20.php
parent3351f0022eb42096fd766e82e9e91d34aaae8fa8 (diff)
downloadforums-4359cacc98453b9297172aae8336f1f75e70bff3.tar
forums-4359cacc98453b9297172aae8336f1f75e70bff3.tar.gz
forums-4359cacc98453b9297172aae8336f1f75e70bff3.tar.bz2
forums-4359cacc98453b9297172aae8336f1f75e70bff3.tar.xz
forums-4359cacc98453b9297172aae8336f1f75e70bff3.zip
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@7167 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/convertors/functions_phpbb20.php')
-rw-r--r--phpBB/install/convertors/functions_phpbb20.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/convertors/functions_phpbb20.php b/phpBB/install/convertors/functions_phpbb20.php
index fee6f1f7a8..9ea018445c 100644
--- a/phpBB/install/convertors/functions_phpbb20.php
+++ b/phpBB/install/convertors/functions_phpbb20.php
@@ -1152,7 +1152,7 @@ function phpbb_prepare_message($message)
if (strpos($message, '[size=') !== false)
{
// Doing it with a map.
- $match_size = array('/\[size=[0-7]:' . $convert->row['old_bbcode_uid'] . '\]/', '/\[size=[8-9]:' . $convert->row['old_bbcode_uid'] . '\]/', '/\[size=[10-12]:' . $convert->row['old_bbcode_uid'] . '\]/', '/\[size=[13-18]:' . $convert->row['old_bbcode_uid'] . '\]/', '/\[size=[19-99]:' . $convert->row['old_bbcode_uid'] . '\]/');
+ $match_size = array('/\[size=[0-7]:' . $convert->row['old_bbcode_uid'] . '\]/', '/\[size=[8-9]:' . $convert->row['old_bbcode_uid'] . '\]/', '/\[size=1[0-2]:' . $convert->row['old_bbcode_uid'] . '\]/', '/\[size=1[3-8]:' . $convert->row['old_bbcode_uid'] . '\]/', '/\[size=(?:[2-9][1-9]|19):' . $convert->row['old_bbcode_uid'] . '\]/');
$replace_size = array('[size=50:' . $convert->row['old_bbcode_uid'] . ']', '[size=85:' . $convert->row['old_bbcode_uid'] . ']', '[size=100:' . $convert->row['old_bbcode_uid'] . ']', '[size=150:' . $convert->row['old_bbcode_uid'] . ']', '[size=200:' . $convert->row['old_bbcode_uid'] . ']');
$message = preg_replace($match_size, $replace_size, $message);
}