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:
parent
174f1aadde
commit
f95bf41d13
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue