From 3a6977a733180f1fe64623f068b52ca84dc9fbc2 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 9 Oct 2011 19:34:54 +0000 Subject: [PATCH] Fix "no such column: groupID" sync error --- chrome/content/zotero/xpcom/data/group.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chrome/content/zotero/xpcom/data/group.js b/chrome/content/zotero/xpcom/data/group.js index eed7da365f..1bfd1646f6 100644 --- a/chrome/content/zotero/xpcom/data/group.js +++ b/chrome/content/zotero/xpcom/data/group.js @@ -357,11 +357,11 @@ Zotero.Group.prototype.erase = function() { // Delete group sql = "DELETE FROM groups WHERE groupID=?"; - ids = Zotero.DB.query(sql, this.id) + Zotero.DB.query(sql, this.id) // Delete library - sql = "DELETE FROM libraries WHERE groupID=?"; - ids = Zotero.DB.query(sql, this.id) + sql = "DELETE FROM libraries WHERE libraryID=?"; + Zotero.DB.query(sql, this.libraryID) Zotero.purgeDataObjects();