diff options
Diffstat (limited to 'lib/stream.php')
-rw-r--r-- | lib/stream.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stream.php b/lib/stream.php index b2f57fab3..a37e4dfa3 100644 --- a/lib/stream.php +++ b/lib/stream.php @@ -60,7 +60,7 @@ class StreamAction extends Action { 'id' => 'notice-' . $notice->id)); $avatar = $profile->getAvatar(AVATAR_STREAM_SIZE); common_element_start('a', array('href' => $profile->profileurl)); - common_element('img', array('src' => ($avatar) ? $avatar->url : common_default_avatar(AVATAR_STREAM_SIZE), + common_element('img', array('src' => ($avatar) ? common_avatar_display_url($avatar) : common_default_avatar(AVATAR_STREAM_SIZE), 'class' => 'avatar stream', 'width' => AVATAR_STREAM_SIZE, 'height' => AVATAR_STREAM_SIZE, |