diff options
author | friendica <info@friendica.com> | 2013-04-03 18:04:48 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-04-03 18:04:48 -0700 |
commit | f353b9ae3d7295dfc8123ab77a91a3f56ebef2a5 (patch) | |
tree | 6008a486b59b9e64814cbb14855ac01f9ad27aa1 /mod/like.php | |
parent | c10e30631a66705fe79e2550a9d85283a1cc0abd (diff) | |
download | volse-hubzilla-f353b9ae3d7295dfc8123ab77a91a3f56ebef2a5.tar.gz volse-hubzilla-f353b9ae3d7295dfc8123ab77a91a3f56ebef2a5.tar.bz2 volse-hubzilla-f353b9ae3d7295dfc8123ab77a91a3f56ebef2a5.zip |
liking comments were reverted to liking the parent after sending item to another channel
Diffstat (limited to 'mod/like.php')
-rwxr-xr-x | mod/like.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/like.php b/mod/like.php index fe2126180..65073aed7 100755 --- a/mod/like.php +++ b/mod/like.php @@ -49,6 +49,7 @@ function like_content(&$a) { $item = $r[0]; $owner_uid = $item['uid']; + $owner_aid = $item['aid']; if(! perm_is_allowed($owner_uid,$observer['xchan_hash'],'post_comments')) { notice( t('Permission denied') . EOL); @@ -140,6 +141,7 @@ function like_content(&$a) { $arr = array(); $arr['mid'] = $mid; + $arr['aid'] = $owner_aid; $arr['uid'] = $owner_uid; $arr['item_flags'] = $item_flags; $arr['parent'] = $item['id']; |