Revert "Fix "cleanDOI: argument must be a string" startup error"

This reverts commit 8763190328.

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.
This commit is contained in:
Dan Stillman 2022-03-21 23:49:01 -04:00
parent 174f1aadde
commit f95bf41d13

View file

@ -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);
}