diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js index a20857416..f621b58a3 100644 --- a/chrome/content/zotero/xpcom/sync.js +++ b/chrome/content/zotero/xpcom/sync.js @@ -3947,7 +3947,8 @@ Zotero.Sync.Server.Data = new function() { // Item data var fields = itemNode.getElementsByTagName('field'); - for each(var field in fields) { + for (var i=0, len=fields.length; i