Set empty metadata fields to an empty string in Item.toArray() rather than FALSE -- this was breaking reports of certain items
This commit is contained in:
parent
b2f78c11d8
commit
a11f08b2ad
|
@ -2275,7 +2275,7 @@ Zotero.Item.prototype.toArray = function(){
|
||||||
|
|
||||||
// Item metadata
|
// Item metadata
|
||||||
for (var i in this._itemData){
|
for (var i in this._itemData){
|
||||||
arr[Zotero.ItemFields.getName(i)] = this._itemData[i];
|
arr[Zotero.ItemFields.getName(i)] = this._itemData[i] ? this._itemData[i] : '';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.isNote() && !this.isAttachment()){
|
if (!this.isNote() && !this.isAttachment()){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user