commit de0b7ba1812cabf70fc2be7421061b87c383c409
parent 409553da2e10b40a1bab5702b377152e83a487f4
Author: Aurimas Vinckevicius <aurimas.dev@gmail.com>
Date: Sun, 26 Apr 2015 01:42:25 -0500
ItemGetter shouldn't break with an empty DB
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/translation/translate_item.js b/chrome/content/zotero/xpcom/translation/translate_item.js
@@ -745,7 +745,7 @@ Zotero.Translate.ItemSaver.prototype = {
}
Zotero.Translate.ItemGetter = function() {
- this._itemsLeft = null;
+ this._itemsLeft = [];
this._collectionsLeft = null;
this._exportFileDirectory = null;
this.legacy = false;