diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index 46a2c52c46..aa0841a82c 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -2533,6 +2533,8 @@ Zotero.Integration.Session.prototype.deleteCitation = function(index) { Zotero.Integration.Session.prototype.getBibliography = function() { this.updateUncitedItems(); + if(Zotero.Utilities.isEmpty(this.citationsByItemID)) return false; + // generate bibliography var bib = this.style.makeBibliography();