diff options
author | Sean Murphy <sgmurphy@gmail.com> | 2009-02-07 11:02:10 -0500 |
---|---|---|
committer | Sean Murphy <sgmurphy@gmail.com> | 2009-02-07 11:02:10 -0500 |
commit | a3d5e00f64b3c166e34a8d36fcb4f5b757394e9b (patch) | |
tree | 91576e428997bc6cc826fa2cead37794961de23c /lib/profilelist.php | |
parent | d90089314944ed1696f66cabbb6935ea61e4b2e6 (diff) | |
parent | 08db50b24eaf9e6e5f651448c394f1f50dd2409b (diff) |
Merge commit 'upstream/0.7.x' into 0.7.x
Conflicts:
actions/showstream.php
Diffstat (limited to 'lib/profilelist.php')
-rw-r--r-- | lib/profilelist.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profilelist.php b/lib/profilelist.php index 6e14c0b69..4d924b039 100644 --- a/lib/profilelist.php +++ b/lib/profilelist.php @@ -97,7 +97,7 @@ class ProfileList extends Widget $avatar = $this->profile->getAvatar(AVATAR_STREAM_SIZE); $this->out->elementStart('a', array('href' => $this->profile->profileurl, 'class' => 'url')); - $this->out->element('img', array('src' => ($avatar) ? common_avatar_display_url($avatar) : common_default_avatar(AVATAR_STREAM_SIZE), + $this->out->element('img', array('src' => ($avatar) ? $avatar->displayUrl() : Avatar::defaultImage(AVATAR_STREAM_SIZE), 'class' => 'photo avatar', 'width' => AVATAR_STREAM_SIZE, 'height' => AVATAR_STREAM_SIZE, |