Fix SQL error switching from ZFS to WebDAV
This commit is contained in:
parent
d53b9b993f
commit
02b29ff14b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue