From 3094c2ce17480f7aca76fe9c2ff1eacd2d20d934 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 23 Mar 2019 22:48:52 +0100 Subject: fix subthread on sys channel items --- Zotlabs/Module/Subthread.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Module/Subthread.php b/Zotlabs/Module/Subthread.php index 54343fdfa..30e57197d 100644 --- a/Zotlabs/Module/Subthread.php +++ b/Zotlabs/Module/Subthread.php @@ -33,7 +33,7 @@ class Subthread extends \Zotlabs\Web\Controller { if(! $i) { $i = q("select * from item where id = %d and uid = %d", - intval($postid), + intval($item_id), intval($sys['channel_id']) ); -- cgit v1.2.3