www

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

commit ebeb9976d2ece32c6cee03f17a889e610ae713a3
parent 0eebae010dd9076c891d5d24b0f9799cbfcf8187
Author: Dan Stillman <dstillman@zotero.org>
Date:   Thu,  9 Apr 2009 20:54:28 +0000

getByKey() doesn't take an array


Diffstat:
Mchrome/content/zotero/xpcom/integration.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js @@ -1152,7 +1152,7 @@ Zotero.Integration.Session.prototype.editCitation = function(index, citation) { if(citation) { for each(var citationItem in citation.citationItems) { if(citationItem.key && !citationItem.itemID) { - var item = Zotero.Items.getByKey([citationItem.key]); + var item = Zotero.Items.getByKey(citationItem.key); if(item) citationItem.itemID = item.itemID; } }