diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-02-06 15:38:10 -0500 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-02-06 15:38:10 -0500 |
commit | 02d7167906b63d490db3b5c3848accc5235b220f (patch) | |
tree | 92323dec8d456fdc737ee3a74c48dedf4cb92bcd /lib/profileminilist.php | |
parent | d260d841ebae71acf7bf726f52acaa6391ce1824 (diff) | |
parent | 60f737dc1eb2f126bae28ce095bc2d17a22bd7d9 (diff) |
Merge branch '0.7.x' into 0.8.x
Diffstat (limited to 'lib/profileminilist.php')
-rw-r--r-- | lib/profileminilist.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profileminilist.php b/lib/profileminilist.php index 81cd7aed5..0d466bba8 100644 --- a/lib/profileminilist.php +++ b/lib/profileminilist.php @@ -74,7 +74,7 @@ class ProfileMiniList extends ProfileList 'rel' => 'contact member', 'class' => 'url')); $avatar = $this->profile->getAvatar(AVATAR_MINI_SIZE); - $this->out->element('img', array('src' => (($avatar) ? common_avatar_display_url($avatar) : common_default_avatar(AVATAR_MINI_SIZE)), + $this->out->element('img', array('src' => (($avatar) ? $avatar->displayUrl() : Avatar::defaultImage(AVATAR_MINI_SIZE)), 'width' => AVATAR_MINI_SIZE, 'height' => AVATAR_MINI_SIZE, 'class' => 'avatar photo', |