aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Display.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-04-30 11:00:13 +0200
committerMax Kostikov <max@kostikov.co>2019-04-30 11:00:13 +0200
commite945c12856404b786c3ad8e0684327c31080966b (patch)
tree93f6ca406f53d1df44487b31ae392b9b2d015d53 /Zotlabs/Module/Display.php
parenta2dd0aea92abcbf0625e38f6063bccf9df418ca4 (diff)
downloadvolse-hubzilla-e945c12856404b786c3ad8e0684327c31080966b.tar.gz
volse-hubzilla-e945c12856404b786c3ad8e0684327c31080966b.tar.bz2
volse-hubzilla-e945c12856404b786c3ad8e0684327c31080966b.zip
Add displaying support for threaded comments
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'])
);