fix wrong Gravatar URL

This commit is contained in:
Ralf Becker 2020-04-11 10:10:41 +02:00
parent eda34d67b3
commit 655f1f1f6a

View File

@ -113,7 +113,7 @@ class Photo
{
if (!is_array($this->contact))
{
return 'https://gravatar.com/'.md5(trim(strtolower($this->contact)));
return 'https://www.gravatar.com/avatar/'.md5(trim(strtolower($this->contact)));
}
return Api\Framework::getUrl(Api\Egw::link('/api/anon_lavatar.php', [
'firstname' => $this->contact['n_given'],