Sanitize value of SOGoMailAutoSave

This commit is contained in:
Francis Lachapelle committed 2019-09-25 10:36:31 -04:00
1 parent 5c3bff74a0
commit 2fbe721c60
3 files changed
+12 -4

No files matched your search

+1 -1
View File
@@ -384,7 +384,7 @@ function initAddresses() {
}
function initAutoSaveTimer() {
var autoSave = UserDefaults["SOGoMailAutoSave"];
var autoSave = parseInt(UserDefaults["SOGoMailAutoSave"]) || 5;
if (autoSave) {
var interval;