From 894c9b1fb29b4cf2f4a4ed78eac4d24bc44424ec Mon Sep 17 00:00:00 2001 From: Avram Lyon Date: Mon, 21 Feb 2011 22:51:25 +0000 Subject: [PATCH] Trans: Quick fix for BNF, per http://forums.zotero.org/discussion/16539/ --- translators/Bibliothèque nationale de France.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/translators/Bibliothèque nationale de France.js b/translators/Bibliothèque nationale de France.js index f4be131f19..c9d60d16aa 100644 --- a/translators/Bibliothèque nationale de France.js +++ b/translators/Bibliothèque nationale de France.js @@ -8,7 +8,7 @@ "priority":100, "inRepository":true, "translatorType":4, - "lastUpdated":"2010-10-03 16:10:08" + "lastUpdated":"2011-02-21 16:10:08" } /* @@ -437,7 +437,7 @@ var BnfClass = function() { //Store perennial url from 009 as attachment and accession number var url = record.getField("009"); - if(url && url[0][1]) { + if(url && url.length > 0 && url[0][1]) { newItem.accessionNumber = url[0][1]; newItem.attachments = [ {