diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-21 11:54:48 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-21 11:54:48 -0400 |
commit | 9933e1e341593b90fab6d366706710d604a1b43f (patch) | |
tree | a55deb6c419a92b271b1b3877e1a36328c023818 /actions/showstream.php | |
parent | 12a58d87e859cc83ebfbf3dfec96931f4387f2f5 (diff) |
fixup default avatar urls by using common function
darcs-hash:20080521155448-84dde-0e71fe5dccea49162911f80c65cd1e2a46043b14.gz
Diffstat (limited to 'actions/showstream.php')
-rw-r--r-- | actions/showstream.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/showstream.php b/actions/showstream.php index 25baf2fc9..69d9ecef9 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -174,7 +174,7 @@ class ShowstreamAction extends StreamAction { 'href' => $subs->profileurl, 'class' => 'subscription')); $avatar = $subs->getAvatar(AVATAR_MINI_SIZE); - common_element('img', array('src' => (($avatar) ? $avatar->url : $config['avatar']['default']['mini']), + common_element('img', array('src' => (($avatar) ? $avatar->url : common_default_avatar(AVATAR_MINI_SIZE), 'width' => AVATAR_MINI_SIZE, 'height' => AVATAR_MINI_SIZE, 'class' => 'avatar mini', |