Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Twig.php')
-rw-r--r--core/Twig.php2
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);