commit a610595b841aeef0621421adfb1b6f233fabe35c parent 2df1e34dc2cbd3e4ced5ffab94bb098b07bd257a Author: Dan Stillman <dstillman@zotero.org> Date: Wed, 18 Jun 2008 08:58:38 +0000 Fix deletion of items without tags Diffstat:
| M | 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 @@ -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; }