]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Set avatar height correctly
authorZach Copley <zach@status.net>
Fri, 26 Feb 2010 02:06:03 +0000 (18:06 -0800)
committerZach Copley <zach@status.net>
Fri, 26 Feb 2010 02:06:03 +0000 (18:06 -0800)
lib/activity.php

index 0f30e8bf517c84f1e26c0d93dbbbee9c46d0dd64..161232c42801fa3f93a9802bfcb2917e41c78a4c 100644 (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;