From f3e2cbb19e2872de9d290381932266b3e60ec28d Mon Sep 17 00:00:00 2001 From: ccd0 Date: Tue, 4 Oct 2016 03:09:37 -0700 Subject: [PATCH] Thread Hiding currently needs thread.nodes.root to exist. Fixes bug from e4a1f6d4a36bc683056573c8ce86098016031931. --- src/General/Index.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/General/Index.coffee b/src/General/Index.coffee index bc82570a9..4b50024a4 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -655,7 +655,7 @@ Index = OP.filterResults = obj.filterResults newPosts.push OP - Build.thread thread, threadData unless isCatalog + Build.thread thread, threadData unless isCatalog and thread.nodes.root catch err # Skip posts that we failed to parse. errors = [] unless errors