diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js index db4673b13..320e97164 100644 --- a/chrome/content/zotero/xpcom/sync.js +++ b/chrome/content/zotero/xpcom/sync.js @@ -2085,6 +2085,10 @@ Zotero.Sync.Server.Data = new function() { var collections = []; for each(var colKey in deletedCollectionKeys) { var col = Zotero.Collections.getByKey(colKey); + // If collection never existed on this side + if (!col) { + continue; + } col.lockDateModified(); collections.push(col); }