diff options
author | David M <davidmj@users.sourceforge.net> | 2007-03-13 23:51:11 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2007-03-13 23:51:11 +0000 |
commit | 460d25eefdbe592e63af8c38933abf8f661ab0c4 (patch) | |
tree | 49ad6845f7dc216ab1ed57c56b5fa9f721b8ce75 /phpBB/install/convertors/functions_phpbb20.php | |
parent | 08beb549d19d34a897e37f7e7ec21d1cb1a884d6 (diff) | |
download | forums-460d25eefdbe592e63af8c38933abf8f661ab0c4.tar forums-460d25eefdbe592e63af8c38933abf8f661ab0c4.tar.gz forums-460d25eefdbe592e63af8c38933abf8f661ab0c4.tar.bz2 forums-460d25eefdbe592e63af8c38933abf8f661ab0c4.tar.xz forums-460d25eefdbe592e63af8c38933abf8f661ab0c4.zip |
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@7184 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/convertors/functions_phpbb20.php')
-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 f5b620db63..0f364eefde 100644 --- a/phpBB/install/convertors/functions_phpbb20.php +++ b/phpBB/install/convertors/functions_phpbb20.php @@ -1133,7 +1133,7 @@ function phpbb_convert_topic_type($topic_type) function phpbb_replace_size($matches) { - return '[size=' . ceil(100.0 * (((double) $matches[1])/12.0)) . ':' . $matches[2] . ']'; + return '[size=' . min(200, ceil(100.0 * (((double) $matches[1])/12.0))) . ':' . $matches[2] . ']'; } /** |