fromJSON(): Fix bug in 02c5510710

This commit is contained in:
Dan Stillman 2020-03-24 18:25:05 -04:00
parent 8b0dbc7708
commit 17d6181507

View file

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