diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js index 252bce35a7..34189e83f8 100644 --- a/chrome/content/zotero/xpcom/collectionTreeView.js +++ b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -1872,10 +1872,10 @@ Zotero.ItemGroupCache = { "clear":function() { this.lastItemGroup = null; this.lastSearch = null; - this.lastTempTable = null; if(this.lastTempTable) { Zotero.DB.query("DROP TABLE "+this.lastTempTable); } + this.lastTempTable = null; this.lastResults = null; } };