From 8e86f4b607eddbee96cdd6c5dd722c1b4c05e2fa Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 2 Feb 2007 06:15:21 +0000 Subject: [PATCH] Fix scope error from DB architecture change --- chrome/content/zotero/xpcom/db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/db.js b/chrome/content/zotero/xpcom/db.js index 0f5635fdef..fe5c5c63e3 100644 --- a/chrome/content/zotero/xpcom/db.js +++ b/chrome/content/zotero/xpcom/db.js @@ -132,7 +132,7 @@ Zotero.DBConnection.prototype.valueQuery = function (sql,params) { * Run a query and return the first row */ Zotero.DBConnection.prototype.rowQuery = function (sql,params) { - var result = query(sql,params); + var result = this.query(sql,params); if (result) { return result[0]; }