www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit e84f7f6ef84f293e848980113a64cee4e772c5ca
parent 4e4f6f74a1dd218a930aef1231b51b94c21fe808
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed, 11 Feb 2009 20:05:45 +0000

Fix "col.lockDateModified is not a function" error


Diffstat:
Mchrome/content/zotero/xpcom/sync.js | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git 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); }