From 7816e4122a1e9edb241c009b800714e31db5c356 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 3 Jul 2008 13:03:47 -0400 Subject: add a display url function to display URLs darcs-hash:20080703170347-84dde-1ba2e178dd4051aa63e4073e472c73240e3d9fe8.gz --- lib/stream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/stream.php') 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, -- cgit v1.2.3-54-g00ecf