Fix code that never threw a parse error before
This commit is contained in:
parent
b938ce5fdd
commit
0f957d6e99
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ Zotero.Relation.prototype._set = function (field, val) {
|
|||
Zotero.Relation.prototype.exists = function () {
|
||||
if (this.id) {
|
||||
var sql = "SELECT COUNT(*) FROM relations WHERE relationID=?";
|
||||
return !!Zotero_DB::valueQuery(sql, this.id);
|
||||
return !!Zotero.DB.valueQuery(sql, this.id);
|
||||
}
|
||||
|
||||
if (this.libraryID && this.subject && this.predicate && this.object) {
|
||||
|
|
Loading…
Add table
Reference in a new issue