aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-05-01 15:12:01 +0200
committerMax Kostikov <max@kostikov.co>2019-05-01 15:12:01 +0200
commit06837bd32b1d9a9a5c7bb3b966eb80b7f072b4a0 (patch)
treef2ec0c17fd0d94645478b4c3e6e1978449ec55f2 /Zotlabs/Module
parentc340416c9424c285de4701158714541f24d66e85 (diff)
downloadvolse-hubzilla-06837bd32b1d9a9a5c7bb3b966eb80b7f072b4a0.tar.gz
volse-hubzilla-06837bd32b1d9a9a5c7bb3b966eb80b7f072b4a0.tar.bz2
volse-hubzilla-06837bd32b1d9a9a5c7bb3b966eb80b7f072b4a0.zip
Revert code to use thr_parent for comment replies
Diffstat (limited to 'Zotlabs/Module')
-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 b7d4a5922..5983578b3 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.parent as item_id from item WHERE uid = %d and mid = '%s' $item_normal limit 1",
+ $r = q("SELECT item.id as item_id from item WHERE uid = %d and mid = '%s' $item_normal limit 1",
intval(local_channel()),
dbesc($target_item['parent_mid'])
);