mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-09 15:00:07 +01:00
fix wrong Gravatar URL
This commit is contained in:
parent
eda34d67b3
commit
655f1f1f6a
@ -113,7 +113,7 @@ class Photo
|
|||||||
{
|
{
|
||||||
if (!is_array($this->contact))
|
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', [
|
return Api\Framework::getUrl(Api\Egw::link('/api/anon_lavatar.php', [
|
||||||
'firstname' => $this->contact['n_given'],
|
'firstname' => $this->contact['n_given'],
|
||||||
|
Loading…
Reference in New Issue
Block a user