diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 1985ff26e4..b6aaf3824d 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -3498,6 +3498,9 @@ var ZoteroPane = new function() throw new Error('collection must be null if createNew is true'); } let id = await this.newCollection(); + if (!id) { + return; + } collection = Zotero.Collections.get(id); }