don't list undefined as year

This commit is contained in:
j 2019-11-20 15:29:41 +01:00
parent 5863e7fb31
commit 6c7c08448d

View file

@ -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'})