From a610595b841aeef0621421adfb1b6f233fabe35c Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 18 Jun 2008 08:58:38 +0000 Subject: [PATCH] Fix deletion of items without tags --- chrome/content/zotero/xpcom/data/tags.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/data/tags.js b/chrome/content/zotero/xpcom/data/tags.js index 32a938708..217f1dc6b 100644 --- a/chrome/content/zotero/xpcom/data/tags.js +++ b/chrome/content/zotero/xpcom/data/tags.js @@ -370,7 +370,9 @@ Zotero.Tags = new function() { var toDelete = Zotero.DB.columnQuery(sql); if (!toDelete) { - Zotero.DB.rollbackTransaction(); + sql = "DROP TABLE tagDelete"; + Zotero.DB.query(sql); + Zotero.DB.commitTransaction(); return; }