aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Like.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-04-05 10:44:00 +0200
committerMario Vavti <mario@mariovavti.com>2018-04-05 10:44:00 +0200
commitdcacdd23c87061dc15bd12ed2e959bcbe020c5df (patch)
treee7dcd63bbfdaa6ae564c60d59ef60edf0e6ba7a7 /Zotlabs/Module/Like.php
parentbd0959b5a431ceaab694f0236a790116a5e8d556 (diff)
parentfe401203bd33fdb19880420556c8a6b6a371f94e (diff)
downloadvolse-hubzilla-dcacdd23c87061dc15bd12ed2e959bcbe020c5df.tar.gz
volse-hubzilla-dcacdd23c87061dc15bd12ed2e959bcbe020c5df.tar.bz2
volse-hubzilla-dcacdd23c87061dc15bd12ed2e959bcbe020c5df.zip
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'Zotlabs/Module/Like.php')
-rw-r--r--Zotlabs/Module/Like.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Like.php b/Zotlabs/Module/Like.php
index 6d9fde17c..12de86e72 100644
--- a/Zotlabs/Module/Like.php
+++ b/Zotlabs/Module/Like.php
@@ -296,10 +296,11 @@ class Like extends \Zotlabs\Web\Controller {
notice( t('Permission denied') . EOL);
killme();
}
-
+
$r = q("select * from xchan where xchan_hash = '%s' limit 1",
dbesc($item['owner_xchan'])
);
+
if($r)
$thread_owner = $r[0];
else