aboutsummaryrefslogtreecommitdiffstats
path: root/mod/like.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-21 12:20:05 -0800
committerFriendika <info@friendika.com>2011-01-21 12:20:05 -0800
commitc0a0710f97d66b695a3c3d1b56d885653d6e14f8 (patch)
tree61eaf96313ed0562efc9923e295a262beee035d7 /mod/like.php
parentd347026094c624320884697358fa6b2272ee5aca (diff)
downloadvolse-hubzilla-c0a0710f97d66b695a3c3d1b56d885653d6e14f8.tar.gz
volse-hubzilla-c0a0710f97d66b695a3c3d1b56d885653d6e14f8.tar.bz2
volse-hubzilla-c0a0710f97d66b695a3c3d1b56d885653d6e14f8.zip
incorrect item owner on like/dislike activity body when remote-auth profile
Diffstat (limited to 'mod/like.php')
-rw-r--r--mod/like.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/like.php b/mod/like.php
index cb4093d5d..f256cd9a1 100644
--- a/mod/like.php
+++ b/mod/like.php
@@ -150,7 +150,7 @@ EOT;
$arr['author-link'] = $contact['url'];
$arr['author-avatar'] = $contact['thumb'];
$arr['body'] = '[url=' . $contact['url'] . ']' . $contact['name'] . '[/url]' . ' ' . t('likes') . ' '
- . '[url=' . $owner['url'] . ']' . $owner['name'] . t('\'s') . '[/url]' . ' '
+ . '[url=' . $item['author-link'] . ']' . $item['author-name'] . t('\'s') . '[/url]' . ' '
. '[url=' . $a->get_baseurl() . '/display/' . $owner['nickname'] . '/' . $item['id'] . ']' . $post_type . '[/url]' ;
$arr['verb'] = $activity;