diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-09-18 14:49:19 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-09-18 14:49:19 +0000 |
commit | 951f793daeb358eace97cdd0b1c321766da55d48 (patch) | |
tree | 37ed80ac95e82e70ea9560ae3256d53fb423801a /phpBB/includes/functions.php | |
parent | 36e99af959799eab6610fc6f3ca0e2c76ba4020f (diff) | |
download | forums-951f793daeb358eace97cdd0b1c321766da55d48.tar forums-951f793daeb358eace97cdd0b1c321766da55d48.tar.gz forums-951f793daeb358eace97cdd0b1c321766da55d48.tar.bz2 forums-951f793daeb358eace97cdd0b1c321766da55d48.tar.xz forums-951f793daeb358eace97cdd0b1c321766da55d48.zip |
some fixes. :P
- language authors may review their email template files...
git-svn-id: file:///svn/phpbb/trunk@8092 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 2ce788e80a..3742d89475 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -3512,7 +3512,7 @@ function truncate_string($string, $max_length = 60, $allow_reply = true, $append if (sizeof($chars) > $max_length) { // Cut off the last elements from the array - $string = implode('', array_slice($chars, 0, $max_length)); + $string = implode('', array_slice($chars, 0, $max_length - utf8_strlen($append))); $stripped = true; } |