From 9933e1e341593b90fab6d366706710d604a1b43f Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 21 May 2008 11:54:48 -0400 Subject: fixup default avatar urls by using common function darcs-hash:20080521155448-84dde-0e71fe5dccea49162911f80c65cd1e2a46043b14.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 a9c01095e..4b7d6ed24 100644 --- a/lib/stream.php +++ b/lib/stream.php @@ -35,7 +35,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 : $config['avatar']['default']['stream'], + common_element('img', array('src' => ($avatar) ? $avatar->url : common_default_avatar(AVATAR_STREAM_SIZE), 'class' => 'avatar stream', 'width' => AVATAR_STREAM_SIZE, 'height' => AVATAR_STREAM_SIZE, -- cgit v1.2.3-54-g00ecf