From 6c7c08448dfb65953f481cbf40f95f10c51968e2 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 20 Nov 2019 15:29:41 +0100 Subject: [PATCH] don't list undefined as year --- static/js/idDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/idDialog.js b/static/js/idDialog.js index ba82d19f6..e06f5bddc 100644 --- a/static/js/idDialog.js +++ b/static/js/idDialog.js @@ -97,7 +97,7 @@ pandora.ui.idDialog = function(data) { labelWidth: 128, value: Ox.decodeHTMLEntities(key == 'director' && data[key] ? data[key].join(', ') - : ('' + data[key])), + : ('' + (data[key] || ''))), width: formWidth }) .css({display: 'inline-block', margin: '3px'})