From db41b99fddcc52d38897c59c161b6adaca036afb Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 14 Oct 2026 11:47:11 -0400 Subject: [PATCH] Fix missing-value check in SyncedSettings.set() --- chrome/content/zotero/xpcom/syncedSettings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/syncedSettings.js b/chrome/content/zotero/xpcom/syncedSettings.js index aac9c85d11..3899f78776 100644 --- a/chrome/content/zotero/xpcom/syncedSettings.js +++ b/chrome/content/zotero/xpcom/syncedSettings.js @@ -216,7 +216,7 @@ Zotero.SyncedSettings = (function () { }, set: async function (libraryID, setting, value, version = 0, synced) { - if (typeof value == undefined) { + if (typeof value == 'undefined') { throw new Error("Value not provided"); }