From f95bf41d13d6cac6e7d5152752de9dfe96d160c1 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 21 Mar 2022 23:49:01 -0400 Subject: [PATCH] Revert "Fix "cleanDOI: argument must be a string" startup error" This reverts commit 87631903282bc4d72cf6791b1a83a518ffdaf77e. This is caused by the Scite plugin, and it's better to block startup until this is fixed, since it's wrecking other fields too. --- chrome/content/zotero/xpcom/retractions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/retractions.js b/chrome/content/zotero/xpcom/retractions.js index ac7b9282c9..0f714c5219 100644 --- a/chrome/content/zotero/xpcom/retractions.js +++ b/chrome/content/zotero/xpcom/retractions.js @@ -770,7 +770,7 @@ Zotero.Retractions = { for (let row of rows) { // DOI field if (row.fieldID == doiFieldID) { - let value = Zotero.Utilities.cleanDOI(row.value + ''); + let value = Zotero.Utilities.cleanDOI(row.value); if (value) { this._addItemKeyMapping(this.TYPE_DOI, value, row.id); }