aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/initializers/constants.ts2
1 files changed, 1 insertions, 1 deletions
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 () {
866 // Only add ISO639-1 languages and some sign languages (ISO639-3) 866 // Only add ISO639-1 languages and some sign languages (ISO639-3)
867 iso639 867 iso639
868 .filter(l => { 868 .filter(l => {
869 return (l.iso6391 !== null && l.type === 'living') || 869 return (l.iso6391 !== undefined && l.type === 'living') ||
870 additionalLanguages[l.iso6393] === true 870 additionalLanguages[l.iso6393] === true
871 }) 871 })
872 .forEach(l => { languages[l.iso6391 || l.iso6393] = l.name }) 872 .forEach(l => { languages[l.iso6391 || l.iso6393] = l.name })