commit 0f957d6e99b47f6b623273e847b871cb35142b6e
parent b938ce5fdd2f4ab72adf71e9b6fd18633bdeae6b
Author: Simon Kornblith <simon@simonster.com>
Date: Tue, 15 Jan 2013 02:53:45 -0500
Fix code that never threw a parse error before
Diffstat:
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
@@ -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) {