diff --git a/file/lib/util/ChatUtil.class.php b/file/lib/util/ChatUtil.class.php index 87eab8a..c552c1c 100644 --- a/file/lib/util/ChatUtil.class.php +++ b/file/lib/util/ChatUtil.class.php @@ -115,7 +115,7 @@ public static function gradient($string, $start, $end) { if (count($string) === 0) return ''; if ($start === $end) { - return ''.\wcf\util\StringUtil::encodeHTML($string).'' + return ''.\wcf\util\StringUtil::encodeHTML($string).''; } $r = (int) ((($start >> 16 & 255) - ($end >> 16 & 255)) / (count($string) - 1));