From ab564ed7ca7ce04534e0e3bec1d023f0ffbb04bc Mon Sep 17 00:00:00 2001 From: aurimasv Date: Sat, 1 Dec 2012 18:33:35 -0600 Subject: [PATCH] [PDF metadata retrieval] Fix broken DOI scanning --- chrome/content/zotero/recognizePDF.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/recognizePDF.js b/chrome/content/zotero/recognizePDF.js index ffdf22238c..d36d90f769 100644 --- a/chrome/content/zotero/recognizePDF.js +++ b/chrome/content/zotero/recognizePDF.js @@ -310,7 +310,7 @@ Zotero_RecognizePDF.Recognizer.prototype.recognize = function(file, libraryID, c Zotero.debug(allText); var m = Zotero.Utilities.cleanDOI(allText); if(m) { - this._DOI = m[0]; + this._DOI = m; } // Use only first column from multi-column lines