#75 - fix data leak to ui-avatars #79

Merged
Baakoma merged 9 commits from #75-fix-ui-avatars into main 2022-03-16 11:53:06 +01:00
Showing only changes of commit 5fd20eba28 - Show all commits

View File

@@ -25,7 +25,7 @@ class ColorGenerator
}
for ($i = 0; $i < mb_strlen($text); $i++) {
$hash = abs((int) (($hash << 2) - $hash) + mb_ord($text[$i]));
$hash = abs((int)(($hash << 2) - $hash) + mb_ord($text[$i]));
}
return $hash;