From b2d91af90d06c281ff37a9e34fb648afe61fc614 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 3 May 2017 04:47:18 -0400 Subject: [PATCH] Fix missing paren from 5b0b8744351 --- chrome/content/zotero/xpcom/sync/syncLocal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/sync/syncLocal.js b/chrome/content/zotero/xpcom/sync/syncLocal.js index 068732263..309dccec6 100644 --- a/chrome/content/zotero/xpcom/sync/syncLocal.js +++ b/chrome/content/zotero/xpcom/sync/syncLocal.js @@ -1113,7 +1113,7 @@ Zotero.Sync.Data.Local = { + "SELECT SC.ROWID FROM syncCache SC " + `LEFT JOIN ${table} O USING (libraryID, key, version) ` + "WHERE syncObjectTypeID=? AND SC.libraryID=? AND " - + "(O.libraryID IS NULL OR SC.version < O.version)"; + + "(O.libraryID IS NULL OR SC.version < O.version))"; yield Zotero.DB.queryAsync(sql, [syncObjectTypeID, libraryID]); }),