diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js index ab1545527f..7ba6334cd7 100644 --- a/chrome/content/zotero/xpcom/data/item.js +++ b/chrome/content/zotero/xpcom/data/item.js @@ -4421,7 +4421,7 @@ Zotero.Item.prototype.fromJSON = function (json, options = {}) { for (let typeFieldName of typeFieldNames) { if (extraFields.has(typeFieldName)) { extraFields.delete(typeFieldName); - invalidFieldLogLines.delete(mappedField); + invalidFieldLogLines.delete(typeFieldName); } }