diff --git a/localization/lang.class.php b/localization/lang.class.php index fa3d3b19..565e3ead 100644 --- a/localization/lang.class.php +++ b/localization/lang.class.php @@ -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; } diff --git a/pages/item.php b/pages/item.php index 9f847463..33d90007 100644 --- a/pages/item.php +++ b/pages/item.php @@ -267,7 +267,7 @@ class ItemPage extends genericPage if ($_reqRating) { $text = str_replace('
', ' ', Lang::item('reqRating', $_reqRating[1], [$_reqRating[0]])); - $infobox[] = Lang::breakTextClean($text); + $infobox[] = Lang::breakTextClean($text, 30, LANG::FMT_MARKUP); } }