diff --git a/chrome/content/zotero/xpcom/data/itemFields.js b/chrome/content/zotero/xpcom/data/itemFields.js index 009c5438ac..450ad84b44 100644 --- a/chrome/content/zotero/xpcom/data/itemFields.js +++ b/chrome/content/zotero/xpcom/data/itemFields.js @@ -432,7 +432,7 @@ Zotero.ItemFields = new function() { return Zotero.dir; } - var fieldName = this.getName(fieldName); + var fieldName = this.getName(field); if (fieldName) { let baseField = this.getBaseIDFromTypeAndField(itemTypeID, fieldName); if (baseField) {