1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Add missing semicolon

This commit is contained in:
Tim Düsterhus 2013-04-23 16:49:54 +02:00
parent cd1e04cd8a
commit 3279af8041

View File

@ -115,7 +115,7 @@ public static function gradient($string, $start, $end) {
if (count($string) === 0) return '';
if ($start === $end) {
return '<span style="color:rgb('.($start >> 16 & 255).','.($start >> 8 & 255).','.($start & 255).')">'.\wcf\util\StringUtil::encodeHTML($string).'</span>'
return '<span style="color:rgb('.($start >> 16 & 255).','.($start >> 8 & 255).','.($start & 255).')">'.\wcf\util\StringUtil::encodeHTML($string).'</span>';
}
$r = (int) ((($start >> 16 & 255) - ($end >> 16 & 255)) / (count($string) - 1));