From 0f957d6e99b47f6b623273e847b871cb35142b6e Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Tue, 15 Jan 2013 02:53:45 -0500 Subject: [PATCH] Fix code that never threw a parse error before --- chrome/content/zotero/xpcom/data/relation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/data/relation.js b/chrome/content/zotero/xpcom/data/relation.js index 1d2f8272f..4e4f14c6f 100644 --- a/chrome/content/zotero/xpcom/data/relation.js +++ b/chrome/content/zotero/xpcom/data/relation.js @@ -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) {