aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-11-20 14:15:13 +0100
committerMario Vavti <mario@mariovavti.com>2016-11-20 14:15:13 +0100
commitf4f37692250d1a2dc64b8f53a23476307fd19e5b (patch)
tree733001a194ea3c67b69a65ed20fbbec6a5643c7d
parentdda2ea8fed7e69d5382aa506d5b8324776e095aa (diff)
downloadvolse-hubzilla-f4f37692250d1a2dc64b8f53a23476307fd19e5b.tar.gz
volse-hubzilla-f4f37692250d1a2dc64b8f53a23476307fd19e5b.tar.bz2
volse-hubzilla-f4f37692250d1a2dc64b8f53a23476307fd19e5b.zip
fix #594
-rw-r--r--include/taxonomy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php
index 067bd3246..0b4b2aa9a 100644
--- a/include/taxonomy.php
+++ b/include/taxonomy.php
@@ -386,7 +386,7 @@ function get_things($profile_hash,$uid) {
$things[$k] = null;
foreach($r as $rr) {
- $l = q("select xchan_name, xchan_photo_s, xchan_url from likes left join xchan on likee = xchan_hash where
+ $l = q("select xchan_name, xchan_photo_s, xchan_url from likes left join xchan on liker = xchan_hash where
target_type = '%s' and target_id = '%s' and channel_id = %d",
dbesc(ACTIVITY_OBJ_THING),
dbesc($rr['obj_obj']),