mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@7184 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1133,7 +1133,7 @@ function phpbb_convert_topic_type($topic_type)
|
|||||||
|
|
||||||
function phpbb_replace_size($matches)
|
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] . ']';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user