From 6d5abb55f067d30497cbe10c22000f70bb263817 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 16 Aug 2018 05:20:03 -0400 Subject: [PATCH] Fix regression from 9fec063f4e --- chrome/content/zotero/xpcom/translation/translate_item.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/xpcom/translation/translate_item.js b/chrome/content/zotero/xpcom/translation/translate_item.js index 6561bf7d71..67d33ffefc 100644 --- a/chrome/content/zotero/xpcom/translation/translate_item.js +++ b/chrome/content/zotero/xpcom/translation/translate_item.js @@ -212,6 +212,7 @@ Zotero.Translate.ItemSaver.prototype = { try { let resolvers = Zotero.Attachments.getPDFResolvers(item, ['oa']); if (!resolvers.length) { + openAccessPDFURLs.set(item, []); continue; } let urlObjects = await resolvers[0]();