JS strict warning
This commit is contained in:
parent
2d47daf684
commit
ab398bcd84
|
@ -171,7 +171,7 @@ Zotero.Relations = new function () {
|
||||||
|
|
||||||
|
|
||||||
this.eraseByURI = function (uri) {
|
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]);
|
Zotero.DB.query(sql, [uri, uri]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user