From e8682c37f85cc3471bdc26fb8cc8993bdb4427bd Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 6 May 2021 19:43:42 -0700 Subject: [PATCH] Fix bug introduced in v1.14.21.1 causing error message when menu opened. --- src/Menu/ArchiveLink.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Menu/ArchiveLink.coffee b/src/Menu/ArchiveLink.coffee index 4daa729da..3a31025c6 100644 --- a/src/Menu/ArchiveLink.coffee +++ b/src/Menu/ArchiveLink.coffee @@ -43,7 +43,7 @@ ArchiveLink = else type value = if type is 'country' - post.info.flagCode or post.info.flagCodeTroll.toLowerCase() + post.info.flagCode or post.info.flagCodeTroll?.toLowerCase() else Filter.values(type, post)[0] # We want to parse the exact same stuff as the filter does already.