mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Set header content type for avatar
This commit is contained in:
parent
7f138c8ad9
commit
a9dc895ca6
@ -2613,6 +2613,7 @@ class Contacts extends Contacts\Storage
|
||||
{
|
||||
if (is_array($contact))
|
||||
{
|
||||
header('Content-type: image/jpeg');
|
||||
echo \EGroupware\Api\avatar::lavatar(array(
|
||||
'id' => $contact['id'],
|
||||
'firstname' => $contact['n_given'],
|
||||
|
Loading…
Reference in New Issue
Block a user