diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js index 813f1e11c6..211e05b9af 100644 --- a/chrome/content/zotero/xpcom/collectionTreeView.js +++ b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -1043,7 +1043,7 @@ Zotero.CollectionTreeView.prototype.expandToCollection = Zotero.Promise.coroutin while (parentID = col.parentID) { // Detect infinite loop due to invalid nesting in DB if (seen.has(parentID)) { - yield Zotero.Schema.requireIntegrityCheck(); + yield Zotero.Schema.setIntegrityCheckRequired(true); Zotero.crash(); return; }