summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-02-25 18:06:03 -0800
committerZach Copley <zach@status.net>2010-02-25 18:06:03 -0800
commit207cc8907475cb75091e6f1a05fb096fdf477b48 (patch)
treea079df6a3bd6ad31f65a3faf0191898d06e597b2
parent82cac2be595953029e61f2e6f21122206b82314e (diff)
Set avatar height correctly
-rw-r--r--lib/activity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/activity.php b/lib/activity.php
index 0f30e8bf5..161232c42 100644
--- a/lib/activity.php
+++ b/lib/activity.php
@@ -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;