aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-03-11 00:14:12 -0700
committerfriendica <info@friendica.com>2013-03-11 00:14:12 -0700
commitbcf4592cb078b6afc3b8c65cd5832cee17a38ffc (patch)
tree7fb3176f28c23cdbcf0262c175f33b03a75379c1 /mod
parent26499981b6c18879cfb1d7ddb8321b965277a5fd (diff)
downloadvolse-hubzilla-bcf4592cb078b6afc3b8c65cd5832cee17a38ffc.tar.gz
volse-hubzilla-bcf4592cb078b6afc3b8c65cd5832cee17a38ffc.tar.bz2
volse-hubzilla-bcf4592cb078b6afc3b8c65cd5832cee17a38ffc.zip
likes were somewhat confused. Unconfuse them.
Diffstat (limited to 'mod')
-rwxr-xr-xmod/like.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/like.php b/mod/like.php
index 7c3df98ba..16be071bc 100755
--- a/mod/like.php
+++ b/mod/like.php
@@ -149,11 +149,11 @@ function like_content(&$a) {
$arr['author_xchan'] = $observer['xchan_hash'];
- $ulink = '[url=' . $item_owner['xchan_url'] . ']' . $item_owner['xchan_name'] . '[/url]';
+ $ulink = '[url=' . $thread_owner['xchan_url'] . ']' . $thread_owner['xchan_name'] . '[/url]';
$alink = '[url=' . $observer['xchan_url'] . ']' . $observer['xchan_name'] . '[/url]';
$plink = '[url=' . $a->get_baseurl() . '/display/' . $item['uri'] . ']' . $post_type . '[/url]';
- $arr['body'] = sprintf( $bodyverb, $ulink, $alink, $plink );
+ $arr['body'] = sprintf( $bodyverb, $alink, $ulink, $plink );
$arr['verb'] = $activity;
$arr['obj_type'] = $objtype;