aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Display.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-05-01 10:06:24 +0200
committerMario <mario@mariovavti.com>2019-05-01 10:06:24 +0200
commit256f8dd41b9e22f2b16bf5d912228f84952c748a (patch)
tree4c874b220281b25c293e2ebe8bc6ddde19fa0801 /Zotlabs/Module/Display.php
parenta04689b7840f336fed92ec648754cca02dcd90f0 (diff)
parentc340416c9424c285de4701158714541f24d66e85 (diff)
downloadvolse-hubzilla-256f8dd41b9e22f2b16bf5d912228f84952c748a.tar.gz
volse-hubzilla-256f8dd41b9e22f2b16bf5d912228f84952c748a.tar.bz2
volse-hubzilla-256f8dd41b9e22f2b16bf5d912228f84952c748a.zip
Merge branch 'dev' into 'dev'
Add 'reply on comment' feature See merge request hubzilla/core!1614
Diffstat (limited to 'Zotlabs/Module/Display.php')
-rw-r--r--Zotlabs/Module/Display.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php
index 5983578b3..b7d4a5922 100644
--- a/Zotlabs/Module/Display.php
+++ b/Zotlabs/Module/Display.php
@@ -265,7 +265,7 @@ class Display extends \Zotlabs\Web\Controller {
$sysid = $sys['channel_id'];
if(local_channel()) {
- $r = q("SELECT item.id as item_id from item WHERE uid = %d and mid = '%s' $item_normal limit 1",
+ $r = q("SELECT item.parent as item_id from item WHERE uid = %d and mid = '%s' $item_normal limit 1",
intval(local_channel()),
dbesc($target_item['parent_mid'])
);