Fix empty subcollection problem

This commit is contained in:
Dan Stillman 2009-01-03 06:27:40 +00:00
parent 1bd36605d4
commit 8d51a09eda

View file

@ -2175,7 +2175,7 @@ Zotero.Translate.prototype._exportGetCollection = function() {
if(this._collectionsLeft && this._collectionsLeft.length != 0) {
var returnItem = this._collectionsLeft.shift();
var obj = returnItem.serialize();
var obj = returnItem.serialize(true);
obj.id = obj.primary.collectionID;
obj.name = obj.fields.name;
return obj;