commit 8d51a09eda882434005141d5bb307d85d9bcdf7e
parent 1bd36605d4db8c720e7c234f69201d1cbee4315a
Author: Dan Stillman <dstillman@zotero.org>
Date: Sat, 3 Jan 2009 06:27:40 +0000
Fix empty subcollection problem
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/translate.js b/chrome/content/zotero/xpcom/translate.js
@@ -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;