commit 894c9b1fb29b4cf2f4a4ed78eac4d24bc44424ec
parent 73857fbba76a5e746a44272ac0543266b25625d2
Author: Avram Lyon <ajlyon@gmail.com>
Date: Mon, 21 Feb 2011 22:51:25 +0000
Trans: Quick fix for BNF, per http://forums.zotero.org/discussion/16539/
Diffstat:
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
@@ -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 = [
{