commit ab398bcd8457d5c2f99fca1293f15f98ebb87d43 parent 2d47daf684226ef87c6ee27c4c1be51133bf550b Author: Dan Stillman <dstillman@zotero.org> Date: Mon, 30 Aug 2010 21:00:35 +0000 JS strict warning Diffstat:
| M | chrome/content/zotero/xpcom/data/relations.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/data/relations.js b/chrome/content/zotero/xpcom/data/relations.js @@ -171,7 +171,7 @@ Zotero.Relations = new function () { this.eraseByURI = function (uri) { - sql = "DELETE FROM relations WHERE subject=? OR object=?"; + var sql = "DELETE FROM relations WHERE subject=? OR object=?"; Zotero.DB.query(sql, [uri, uri]); }