Fix regression from 9fec063f4e
This commit is contained in:
parent
8d105a7b18
commit
6d5abb55f0
1 changed files with 1 additions and 0 deletions
|
@ -212,6 +212,7 @@ Zotero.Translate.ItemSaver.prototype = {
|
||||||
try {
|
try {
|
||||||
let resolvers = Zotero.Attachments.getPDFResolvers(item, ['oa']);
|
let resolvers = Zotero.Attachments.getPDFResolvers(item, ['oa']);
|
||||||
if (!resolvers.length) {
|
if (!resolvers.length) {
|
||||||
|
openAccessPDFURLs.set(item, []);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
let urlObjects = await resolvers[0]();
|
let urlObjects = await resolvers[0]();
|
||||||
|
|
Loading…
Reference in a new issue