Set avatar height correctly

This commit is contained in:
Zach Copley 2010-02-25 18:06:03 -08:00
parent 82cac2be59
commit 207cc89074

View File

@ -480,7 +480,7 @@ class AvatarLink
}
$alink = new AvatarLink();
$alink->type = $avatar->mediatype;
$alink->height = $avatar->mediatype;
$alink->height = $avatar->height;
$alink->width = $avatar->width;
$alink->url = $avatar->displayUrl();
return $alink;