not all array keys are arrays

This commit is contained in:
j 2019-07-09 12:58:34 +02:00
parent 24fd887780
commit a37f38a0b7

View file

@ -97,7 +97,8 @@ pandora.ui.editDocumentsDialog = function() {
});
if (isArray) {
values = values.map(function(value) {
return (value || []).join(separator);
value = value || []
return value.join ? value.join(separator) : value;
});
}
if (Ox.unique(values).length > 1) {