diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js index 70d464a7f9..4e465ef3b4 100644 --- a/chrome/content/zotero/xpcom/sync.js +++ b/chrome/content/zotero/xpcom/sync.js @@ -1834,16 +1834,15 @@ Zotero.Sync.Server.Data = new function() { Zotero.debug('Saving merged ' + types); // Save parent items first if (type == 'item') { - for each(var obj in toSave) { - if (!obj.getSource()) { - obj.save(); + for (var i=0; i