mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-14 20:50:30 +01:00
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@7184 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
08beb549d1
commit
460d25eefd
@ -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] . ']';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user