From 0dbd02abe982148bd9332f95dc932487b25b26ee Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 4 Sep 2008 22:27:51 +0000 Subject: [PATCH] Fix regression from r3335 that caused some creator changes not to sync --- chrome/content/zotero/xpcom/sync.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js index 3ccb4b286..7958a1ea8 100644 --- a/chrome/content/zotero/xpcom/sync.js +++ b/chrome/content/zotero/xpcom/sync.js @@ -2368,11 +2368,7 @@ Zotero.Sync.Server.Data = new function() { creator = new Zotero.Creator; } else { - var creatorID = parseInt(xmlCreator.@id); - creator = Zotero.Creators.get(creatorID); - if (!creator) { - creator = new Zotero.Creator(creatorID); - } + creator = new Zotero.Creator(parseInt(xmlCreator.@id)); /* if (creator.exists()) { throw ("Creator specified in XML node already exists "