From ba1a383aa1761ad8744a5c9389700149353b39c9 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 14 Aug 2006 22:05:58 +0000 Subject: [PATCH] don't throw an error trying to make a bibliography with an item with no date (thanks Dan) --- chrome/chromeFiles/content/scholar/xpcom/cite.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/chrome/chromeFiles/content/scholar/xpcom/cite.js b/chrome/chromeFiles/content/scholar/xpcom/cite.js index eccf77f51b..12f2bf9ced 100644 --- a/chrome/chromeFiles/content/scholar/xpcom/cite.js +++ b/chrome/chromeFiles/content/scholar/xpcom/cite.js @@ -896,10 +896,8 @@ CSL.prototype._preprocessItems = function(items) { } } - // parse - if(item.date) { // specific date - item._csl.date = CSL.prototype._processDate(item.date); - } + // parse date + item._csl.date = CSL.prototype._processDate(item.date); } }