Set avatar height correctly
This commit is contained in:
parent
82cac2be59
commit
207cc89074
@ -480,7 +480,7 @@ class AvatarLink
|
|||||||
}
|
}
|
||||||
$alink = new AvatarLink();
|
$alink = new AvatarLink();
|
||||||
$alink->type = $avatar->mediatype;
|
$alink->type = $avatar->mediatype;
|
||||||
$alink->height = $avatar->mediatype;
|
$alink->height = $avatar->height;
|
||||||
$alink->width = $avatar->width;
|
$alink->width = $avatar->width;
|
||||||
$alink->url = $avatar->displayUrl();
|
$alink->url = $avatar->displayUrl();
|
||||||
return $alink;
|
return $alink;
|
||||||
|
Loading…
Reference in New Issue
Block a user