fromJSON(): Fix bug in 02c5510710
This commit is contained in:
parent
8b0dbc7708
commit
17d6181507
1 changed files with 1 additions and 1 deletions
|
@ -4421,7 +4421,7 @@ Zotero.Item.prototype.fromJSON = function (json, options = {}) {
|
||||||
for (let typeFieldName of typeFieldNames) {
|
for (let typeFieldName of typeFieldNames) {
|
||||||
if (extraFields.has(typeFieldName)) {
|
if (extraFields.has(typeFieldName)) {
|
||||||
extraFields.delete(typeFieldName);
|
extraFields.delete(typeFieldName);
|
||||||
invalidFieldLogLines.delete(mappedField);
|
invalidFieldLogLines.delete(typeFieldName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue