From 330f8697f8f9a880a0ecc7eb9a35ad8daec325a8 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 6 Sep 2010 18:36:34 +0000 Subject: [PATCH] Check for long tags not associated with items after TAG_TOO_LONG sync error --- chrome/content/zotero/xpcom/sync.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js index 700a3243b..039cafa7a 100644 --- a/chrome/content/zotero/xpcom/sync.js +++ b/chrome/content/zotero/xpcom/sync.js @@ -1875,7 +1875,7 @@ Zotero.Sync.Server = new function () { var tag = tag[0].firstChild.nodeValue; setTimeout(function () { var callback = function () { - var sql = "SELECT DISTINCT name FROM itemTags NATURAL JOIN tags WHERE LENGTH(name)>255 LIMIT 1"; + var sql = "SELECT DISTINCT name FROM tags WHERE LENGTH(name)>255 LIMIT 1"; var tag = Zotero.DB.valueQuery(sql); if (tag) { var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]