diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index 0a1130260..597ee4a8a 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -2480,8 +2480,13 @@ Zotero.Integration.Session.prototype.lookupItems = Zotero.Promise.coroutine(func } if(zoteroItem) { - items.push(zoteroItem); - citationItem.id = zoteroItem.cslItemID ? zoteroItem.cslItemID : zoteroItem.id; + if (zoteroItem.cslItemID) { + citationItem.id = zoteroItem.cslItemID; + } + else { + citationItem.id = zoteroItem.id; + items.push(zoteroItem); + } } }