www

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

commit 330f8697f8f9a880a0ecc7eb9a35ad8daec325a8
parent 6ba92efdbb94edb975eeee567e4c08efa5b888b9
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon,  6 Sep 2010 18:36:34 +0000

Check for long tags not associated with items after TAG_TOO_LONG sync error


Diffstat:
Mchrome/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 @@ -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"]