From ab398bcd8457d5c2f99fca1293f15f98ebb87d43 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 30 Aug 2010 21:00:35 +0000 Subject: [PATCH] JS strict warning --- 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 index 9ec11f0e0e..2ef241fe64 100644 --- 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]); }