Fix scope error from DB architecture change

This commit is contained in:
Dan Stillman 2007-02-02 06:15:21 +00:00
parent 49b0f28f26
commit 8e86f4b607

View File

@ -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];
}