diff options
author | David M <davidmj@users.sourceforge.net> | 2007-03-10 18:16:08 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2007-03-10 18:16:08 +0000 |
commit | 3a2e4e31cc5e776b0d0c35ce3ea6b0bbf2480eb9 (patch) | |
tree | 9ab709c28838f39f8ccedb7038b981c02b9ffe8e /phpBB/install | |
parent | 4359cacc98453b9297172aae8336f1f75e70bff3 (diff) | |
download | forums-3a2e4e31cc5e776b0d0c35ce3ea6b0bbf2480eb9.tar forums-3a2e4e31cc5e776b0d0c35ce3ea6b0bbf2480eb9.tar.gz forums-3a2e4e31cc5e776b0d0c35ce3ea6b0bbf2480eb9.tar.bz2 forums-3a2e4e31cc5e776b0d0c35ce3ea6b0bbf2480eb9.tar.xz forums-3a2e4e31cc5e776b0d0c35ce3ea6b0bbf2480eb9.zip |
oops
git-svn-id: file:///svn/phpbb/trunk@7168 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
-rw-r--r-- | phpBB/install/convertors/functions_phpbb20.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/convertors/functions_phpbb20.php b/phpBB/install/convertors/functions_phpbb20.php index 9ea018445c..e4f2a88013 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=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'] . '\]/'); + $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][0-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); } |