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:
authorDavid Farning <dfarning@gmail.com>2009-03-21 05:54:57 (GMT)
committer David Farning <dfarning@gmail.com>2009-03-21 05:54:57 (GMT)
commitb6607b36b4fe5be82297abaea88e120de7c1ce44 (patch)
treea44f7ca03ac5524024c98343c7ef517038d4f870 /site/app/views/helpers/addons_html.php
parent1fb3c4ae563e9ede7cdc6cdb6b4292773703c14d (diff)
parent32c281e71ab055ed2ad44b44e5863cf9779a621d (diff)
merge with snvdevel
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.'...';
}
}