Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/views/helpers/addons_html.php
diff options
context:
space:
mode:
Diffstat (limited to 'site/app/views/helpers/addons_html.php')
-rw-r--r--site/app/views/helpers/addons_html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/app/views/helpers/addons_html.php b/site/app/views/helpers/addons_html.php
index a74b69f..b2d90b6 100644
--- a/site/app/views/helpers/addons_html.php
+++ b/site/app/views/helpers/addons_html.php
@@ -484,10 +484,10 @@ class AddonsHtmlHelper extends HtmlHelper
}
function truncateChars($length, $string) {
- if (strlen($string) <= $length) {
+ if (mb_strlen($string) <= $length) {
return $string;
} else {
- $sub = substr($string, 0, $length - 3);
+ $sub = mb_substr($string, 0, $length - 3);
return $sub.'...';
}
}