From 2a9d1d269345274fb193b2f4e03756146430c3d7 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Wed, 19 Jun 2013 13:29:04 -0400 Subject: [PATCH] Ignore empty bibliography fields --- chrome/content/zotero/xpcom/integration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index 8fea620240..e69ddb449d 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -1489,7 +1489,7 @@ Zotero.Integration.Fields.prototype._processFields = function(i) { throw e; } } - } else if(type === INTEGRATION_TYPE_BIBLIOGRAPHY) { + } else if(type === INTEGRATION_TYPE_BIBLIOGRAPHY && field.getText().trim() !== "") { this._bibliographyFields.push(field); if(!this._session.bibliographyData && !this._bibliographyData) { this._bibliographyData = content;