From 6b82ca8aa6901162f4c73e65a9b643d201178f64 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 27 Oct 2008 19:08:04 +0000 Subject: [PATCH] Fix creator glue --- chrome/content/zotero/xpcom/sync.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js index f2e8f66c6..de8f51352 100644 --- a/chrome/content/zotero/xpcom/sync.js +++ b/chrome/content/zotero/xpcom/sync.js @@ -2161,15 +2161,16 @@ Zotero.Sync.Server.Data = new function() { newCreator.@id = creatorID; newCreator.@creatorType = item.creators[index].creatorType; newCreator.@index = index; - xml.creator += newCreator; // Add creator XML as glue if not already included in sync session if (syncSession && syncSession.uploadIDs.updated.creators.indexOf(creatorID) == -1) { var creator = Zotero.Creators.get(creatorID); var creatorXML = Zotero.Sync.Server.Data.creatorToXML(creator); - xml.creator.creator = creatorXML; + newCreator.creator = creatorXML; } + + xml.creator += newCreator; } // Related items