summaryrefslogtreecommitdiff
path: root/lib/noticelist.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-14 15:42:53 -0500
committerEvan Prodromou <evan@status.net>2009-12-14 15:42:53 -0500
commit9d2a605d0e02a4e7d61b62420d7847ee1e6fcbe1 (patch)
treed0c26667d8457790fb4f4ccc51c418a037475da0 /lib/noticelist.php
parentb93068083e4366aa6847471c5fae34d770bbad18 (diff)
correct link for repeat attribution in noticelist
Diffstat (limited to 'lib/noticelist.php')
-rw-r--r--lib/noticelist.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php
index a106478ed..85e1befcc 100644
--- a/lib/noticelist.php
+++ b/lib/noticelist.php
@@ -535,7 +535,7 @@ class NoticeListItem extends Widget
$repeater = Profile::staticGet('id', $this->repeat->profile_id);
- $attrs = array('href' => $this->profile->profileurl,
+ $attrs = array('href' => $repeater->profileurl,
'class' => 'url');
if (!empty($repeater->fullname)) {
@@ -544,12 +544,12 @@ class NoticeListItem extends Widget
$this->out->elementStart('span', 'repeat vcard');
- $this->out->elementStart('a', $attrs);
-
$this->out->raw(_('Repeated by'));
$avatar = $repeater->getAvatar(AVATAR_MINI_SIZE);
+ $this->out->elementStart('a', $attrs);
+
$this->out->element('img', array('src' => ($avatar) ?
$avatar->displayUrl() :
Avatar::defaultImage(AVATAR_MINI_SIZE),