Fix scope error from DB architecture change
This commit is contained in:
parent
49b0f28f26
commit
8e86f4b607
|
@ -132,7 +132,7 @@ Zotero.DBConnection.prototype.valueQuery = function (sql,params) {
|
||||||
* Run a query and return the first row
|
* Run a query and return the first row
|
||||||
*/
|
*/
|
||||||
Zotero.DBConnection.prototype.rowQuery = function (sql,params) {
|
Zotero.DBConnection.prototype.rowQuery = function (sql,params) {
|
||||||
var result = query(sql,params);
|
var result = this.query(sql,params);
|
||||||
if (result) {
|
if (result) {
|
||||||
return result[0];
|
return result[0];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user