mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
ItemDetailPage/Infobox
* properly line break arena requirements after 8bf7b3ee06
* fix ancient typo in unused code
This commit is contained in:
@@ -591,7 +591,7 @@ class Lang
|
||||
if (is_array($var))
|
||||
{
|
||||
foreach ($var as &$v)
|
||||
$v == self::vspf($v, $args);
|
||||
$v = self::vspf($v, $args);
|
||||
|
||||
return $var;
|
||||
}
|
||||
|
||||
@@ -267,7 +267,7 @@ class ItemPage extends genericPage
|
||||
if ($_reqRating)
|
||||
{
|
||||
$text = str_replace('<br />', ' ', Lang::item('reqRating', $_reqRating[1], [$_reqRating[0]]));
|
||||
$infobox[] = Lang::breakTextClean($text);
|
||||
$infobox[] = Lang::breakTextClean($text, 30, LANG::FMT_MARKUP);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user