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};