www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 02b29ff14b57f519315256510d1faa87e58119f4
parent d53b9b993f8c972da288e550aa327bd87150bb68
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sat,  9 Jan 2016 17:02:13 -0500

Fix SQL error switching from ZFS to WebDAV

Diffstat:
Mchrome/content/zotero/preferences/preferences_sync.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/preferences/preferences_sync.js b/chrome/content/zotero/preferences/preferences_sync.js @@ -349,7 +349,7 @@ Zotero_Preferences.Sync = { if (oldProtocol == 'zotero' && newProtocol == 'webdav') { var sql = "SELECT COUNT(*) FROM settings " - + "WHERE schema='storage' AND key='zfsPurge' AND value='user'"; + + "WHERE setting='storage' AND key='zfsPurge' AND value='user'"; if (!Zotero.DB.valueQueryAsync(sql)) { var ps = Components.classes["@mozilla.org/embedcomp/prompt-service;1"] .getService(Components.interfaces.nsIPromptService);