diff options
Diffstat (limited to 'core/Twig.php')
-rw-r--r-- | core/Twig.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Twig.php b/core/Twig.php index 22c9b6fb81..f94ba78c67 100644 --- a/core/Twig.php +++ b/core/Twig.php @@ -26,7 +26,7 @@ use Twig\TwigTest; function piwik_filter_truncate($string, $size) { - if (Common::mb_strlen(html_entity_decode($string)) <= $size) { + if (mb_strlen(html_entity_decode($string)) <= $size) { return $string; } else { preg_match('/^(&(?:[a-z\d]+|#\d+|#x[a-f\d]+);|.){'.$size.'}/i', $string, $shortenString); |