www

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

commit 3a6977a733180f1fe64623f068b52ca84dc9fbc2
parent 21f1e3789e89a06f9a9ce4d24adcc1909db594e4
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun,  9 Oct 2011 19:34:54 +0000

Fix "no such column: groupID" sync error


Diffstat:
Mchrome/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 @@ -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();