From 45f84fb31f4d2a962c1379960f7d0101270940c3 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 14 Aug 2006 05:15:52 +0000 Subject: [PATCH] actually fix the bug properly this time --- scrapers.sql | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scrapers.sql b/scrapers.sql index 1988bdd39b..ec4750bb69 100644 --- a/scrapers.sql +++ b/scrapers.sql @@ -2920,9 +2920,8 @@ function doExport() { if(item.date) { if(inArray(item.itemType, ["book", "bookSection"]) { // Assume year is copyright date - originInfo += {item.date}; - } - if(inArray(item.itemType, ["magazineArticle", "newspaperArticle"])) { + var dateType = "copyrightDate"; + } else if(inArray(item.itemType, ["journalArticle", "magazineArticle", "newspaperArticle"])) { // Assume date is date issued var dateType = "dateIssued"; } else {