From 17d61815075533853fd668167a6cb7c3b74a98b1 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 24 Mar 2020 18:25:05 -0400 Subject: [PATCH] fromJSON(): Fix bug in 02c55107103 --- chrome/content/zotero/xpcom/data/item.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }