aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-08-31 21:00:28 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-08-31 21:00:28 -0700
commitd7089ab471d446453f41ba1311b3d7186d86ff4c (patch)
treece75108ac809d77d33217e8e844ec0a8b0e3965b /mod
parent039f56f390c69ad0aedadcca3d611fea0d9eebf9 (diff)
parentd7cae1ce2abfda2049bcb9510ae1916865bb55a3 (diff)
downloadvolse-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')
-rwxr-xr-xmod/like.php3
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),