diff --git a/chrome/content/zotero/xpcom/db.js b/chrome/content/zotero/xpcom/db.js index 572a4b2283..330923030c 100644 --- a/chrome/content/zotero/xpcom/db.js +++ b/chrome/content/zotero/xpcom/db.js @@ -725,6 +725,9 @@ Zotero.DBConnection.prototype.backupDatabase = function (suffix) { Zotero.debug("Backups disabled"); return false; } + if (numBackups > 24) { + numBackups = 24; + } } if (this.transactionInProgress()) {