From 0c2c74a0b10f178f45758fe0d84eb20ef4ecf532 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 25 Jan 2013 02:31:39 +0100 Subject: [PATCH] Fixed small issue --- wcfsetup/install/files/lib/util/StringUtil.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/util/StringUtil.class.php b/wcfsetup/install/files/lib/util/StringUtil.class.php index bf1c8aa414..090610894f 100644 --- a/wcfsetup/install/files/lib/util/StringUtil.class.php +++ b/wcfsetup/install/files/lib/util/StringUtil.class.php @@ -596,7 +596,7 @@ final class StringUtil { if ($contentLength + $totalLength > $length) { if ($wordWrap) { if (preg_match('/^(.{1,'.($length - $totalLength).'}) /s', $decodedContent, $match)) { - $truncatedString .= StringUtil::encodeHTML($match[1]); + $truncatedString .= self::encodeHTML($match[1]); } break; -- 2.20.1