summaryrefslogtreecommitdiff
path: root/lib/gallery.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gallery.php')
-rw-r--r--lib/gallery.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gallery.php b/lib/gallery.php
index 4bc7baf5d..f227c93d2 100644
--- a/lib/gallery.php
+++ b/lib/gallery.php
@@ -100,7 +100,7 @@ class GalleryAction extends Action {
$avatar = $other->getAvatar(AVATAR_STREAM_SIZE);
common_element('img',
array('src' =>
- (($avatar) ? $avatar->url :
+ (($avatar) ? common_avatar_display_url($avatar) :
common_default_avatar(AVATAR_STREAM_SIZE)),
'width' => AVATAR_STREAM_SIZE,
'height' => AVATAR_STREAM_SIZE,