From 1050fc32b3d8eb0d6cfb25092b47780ec2de5c6f Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sun, 11 Mar 2012 16:03:00 -0400 Subject: [PATCH] Fix dropping of empty creators --- chrome/content/zotero/xpcom/utilities.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js index e5883a137b..b7e7b7f755 100644 --- a/chrome/content/zotero/xpcom/utilities.js +++ b/chrome/content/zotero/xpcom/utilities.js @@ -1115,7 +1115,7 @@ Zotero.Utilities = { } else if(field === "creators") { // normalize creators var n = val.length; - var newCreators = newItem.creators = new Array(n); + var newCreators = newItem.creators = []; for(var j=0; j