1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-14 04:30:29 +01:00

*** empty log message ***

git-svn-id: file:///svn/phpbb/trunk@7184 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M 2007-03-13 23:51:11 +00:00
parent 08beb549d1
commit 460d25eefd

View File

@ -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] . ']';
}
/**