From e6a97b46b2fec1c787577aecbb470e4f116eefef Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sat, 24 Jul 2010 17:41:56 +0000 Subject: [PATCH] closes #1698, bookAuthor -> container-author CSL mapping (thanks to Frank) --- chrome/content/zotero/xpcom/cite.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/cite.js b/chrome/content/zotero/xpcom/cite.js index c04a31248e..4e1d65cb68 100644 --- a/chrome/content/zotero/xpcom/cite.js +++ b/chrome/content/zotero/xpcom/cite.js @@ -158,8 +158,8 @@ Zotero.Cite.System.retrieveItem = function(item){ var creatorType = Zotero.CreatorTypes.getName(creator.creatorTypeID); } - var creatorVariable = Zotero.Cite.System._zoteroNameMap[creatorType]; - if(!creatorVariable) continue; + var creatorType = Zotero.Cite.System._zoteroNameMap[creatorType]; + if(!creatorType) continue; var nameObj = {'family':creator.ref.lastName, 'given':creator.ref.firstName};