forked from 0x2620/pandora
not all array keys are arrays
This commit is contained in:
parent
24fd887780
commit
a37f38a0b7
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue