diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index 2f7287d7c9..3d92761a98 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -2287,7 +2287,8 @@ Zotero.Integration.Session.prototype.lookupItems = function(citation, index) { var citationItem = citation.citationItems[i]; // get Zotero item - var zoteroItem = false; + var zoteroItem = false, + needUpdate; if(citationItem.uris) { [zoteroItem, needUpdate] = this.uriMap.getZoteroItemForURIs(citationItem.uris); if(needUpdate && index) this.updateIndices[index] = true;