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/gallery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/gallery.php') 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, -- cgit v1.2.3-54-g00ecf