Fix bug introduced in v1.14.21.1 causing error message when menu opened.

This commit is contained in:
ccd0 2021-05-06 19:43:42 -07:00
parent 517c9600ec
commit e8682c37f8

View File

@ -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.