summaryrefslogtreecommitdiff
path: root/inc/display.php
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-04-09 21:13:44 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-04-09 21:13:44 +1000
commit033491f84f9e58308954b049d3574e8791c6c3c2 (patch)
treef5311fb408ba0191c65377697a539e1fa90d5a82 /inc/display.php
parent874b8cbf002e9d8bf0ff39671e1501165016320a (diff)
increase character limit on board URI, title and subtitle
Diffstat (limited to 'inc/display.php')
-rw-r--r--inc/display.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/display.php b/inc/display.php
index 8be431aa..ef6d1efc 100644
--- a/inc/display.php
+++ b/inc/display.php
@@ -122,7 +122,7 @@
$body = html_entity_decode($body, ENT_COMPAT, 'UTF-8');
// calculate strlen() so we can add "..." after if needed
- $strlen = strlen($body);
+ $strlen = mb_strlen($body);
$body = substr($body, 0, $len);