From 9d9d4faffb460726016e3bf92f9cff67036d8f1a Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 20 Dec 2008 07:00:41 +0000 Subject: [PATCH] Fixes #1244, duplicating changes editors into authors --- chrome/content/zotero/xpcom/data/item.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js index 83dc44f8a..7fdef9c73 100644 --- a/chrome/content/zotero/xpcom/data/item.js +++ b/chrome/content/zotero/xpcom/data/item.js @@ -3047,7 +3047,9 @@ Zotero.Item.prototype.clone = function(includePrimary) { else { var i = 0; for (var c in obj.creators) { - newItem.setCreator(i, this.getCreator(c).ref, c.creatorType); + newItem.setCreator( + i, this.getCreator(c).ref, this.getCreator(c).creatorTypeID + ); i++; } }