« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/data/things/language.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/data/things/language.js b/src/data/things/language.js
index 82b08c9f..f20927a4 100644
--- a/src/data/things/language.js
+++ b/src/data/things/language.js
@@ -738,8 +738,8 @@ export class Language extends Thing {
   }
 
   #formatListHelper(array, processFn) {
-    // Empty lists are blank content.
-    if (empty(array)) {
+    // Empty lists, null, and undefined are blank content.
+    if (empty(array) || array === null || array === undefined) {
       return html.blank();
     }