From 2b5e11671726a9391545a24e0639dd15f7e45c96 Mon Sep 17 00:00:00 2001 From: Tom Najdek Date: Sat, 6 Jul 2024 12:31:33 +0200 Subject: [PATCH] Fix RTF Scan never marks citations as unmapped (#4328) --- chrome/content/zotero/rtfScan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/rtfScan.js b/chrome/content/zotero/rtfScan.js index 323ff4ac64..571a2f4478 100644 --- a/chrome/content/zotero/rtfScan.js +++ b/chrome/content/zotero/rtfScan.js @@ -474,7 +474,7 @@ const Zotero_RTFScan = { // eslint-disable-line no-unused-vars, camelcase Zotero.debug("Mapped to " + ids); this.citationItemIDs[citationString] = ids; - if (!ids) { // no mapping found + if (!ids.length) { // no mapping found let row = _generateItem(citationString, ""); row.parent = unmappedRow; this.insertRows(row, this.rowMap.ambiguous);