diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-08-31 21:00:28 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-08-31 21:00:28 -0700 |
commit | d7089ab471d446453f41ba1311b3d7186d86ff4c (patch) | |
tree | ce75108ac809d77d33217e8e844ec0a8b0e3965b /mod/like.php | |
parent | 039f56f390c69ad0aedadcca3d611fea0d9eebf9 (diff) | |
parent | d7cae1ce2abfda2049bcb9510ae1916865bb55a3 (diff) | |
download | volse-hubzilla-d7089ab471d446453f41ba1311b3d7186d86ff4c.tar.gz volse-hubzilla-d7089ab471d446453f41ba1311b3d7186d86ff4c.tar.bz2 volse-hubzilla-d7089ab471d446453f41ba1311b3d7186d86ff4c.zip |
Merge https://github.com/redmatrix/redmatrix into pending_merge
Conflicts:
include/identity.php
install/update.php
util/messages.po
view/nl/messages.po
Diffstat (limited to 'mod/like.php')
-rwxr-xr-x | mod/like.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/like.php b/mod/like.php index 2992319af..0d0a1a8c2 100755 --- a/mod/like.php +++ b/mod/like.php @@ -480,11 +480,12 @@ function like_content(&$a) { if($extended_like) { - $r = q("insert into likes (channel_id,liker,likee,iid,verb,target_type,target_id,target) values (%d,'%s','%s',%d,'%s','%s','%s','%s')", + $r = q("insert into likes (channel_id,liker,likee,iid,i_mid,verb,target_type,target_id,target) values (%d,'%s','%s',%d,'%s','%s','%s','%s','%s')", intval($ch[0]['channel_id']), dbesc($observer['xchan_hash']), dbesc($ch[0]['channel_hash']), intval($post_id), + dbesc($mid), dbesc($activity), dbesc(($tgttype)? $tgttype : $objtype), dbesc($obj_id), |