From 4fdeef8125417128852a0b69208adcd61bff3caa Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 6 Feb 2020 17:06:11 +0100 Subject: Fix language list build --- server/initializers/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index fb8ae7cd6..68c84f509 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts @@ -866,7 +866,7 @@ function buildLanguages () { // Only add ISO639-1 languages and some sign languages (ISO639-3) iso639 .filter(l => { - return (l.iso6391 !== null && l.type === 'living') || + return (l.iso6391 !== undefined && l.type === 'living') || additionalLanguages[l.iso6393] === true }) .forEach(l => { languages[l.iso6391 || l.iso6393] = l.name }) -- cgit v1.2.3