diff --git a/plugins/avatars/index.php b/plugins/avatars/index.php index 5e66ed3e5..f66b1cfcf 100644 --- a/plugins/avatars/index.php +++ b/plugins/avatars/index.php @@ -273,7 +273,7 @@ class AvatarsPlugin extends \RainLoop\Plugins\AbstractPlugin } if ($this->Config()->Get('plugin', 'gravatar', false)) { - $aUrls[] = 'https://gravatar.com/avatar/'.\md5(\strtolower($sAsciiEmail)).'?s=80&d=404'; + $aUrls[] = 'https://gravatar.com/avatar/'.\hash('sha256', \strtolower($sAsciiEmail)).'?s=80&d=404'; } foreach ($aUrls as $sUrl) {