diff options
Diffstat (limited to 'plugins/CoreVisualizations/Visualizations/Cloud.php')
-rw-r--r-- | plugins/CoreVisualizations/Visualizations/Cloud.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CoreVisualizations/Visualizations/Cloud.php b/plugins/CoreVisualizations/Visualizations/Cloud.php index 7ca3b98fa6..43ae5505f2 100644 --- a/plugins/CoreVisualizations/Visualizations/Cloud.php +++ b/plugins/CoreVisualizations/Visualizations/Cloud.php @@ -182,8 +182,8 @@ class Cloud extends Visualization { $word = Common::unsanitizeInputValue($word); - if (Common::mb_strlen($word) > $this->truncatingLimit) { - return Common::mb_substr($word, 0, $this->truncatingLimit - 3) . '...'; + if (mb_strlen($word) > $this->truncatingLimit) { + return mb_substr($word, 0, $this->truncatingLimit - 3) . '...'; } return $word; |