mirror of
https://github.com/zotero/zotero.git
synced 2026-10-08 03:08:19 +00:00
Fix scope error from DB architecture change
This commit is contained in:
parent
49b0f28f26
commit
8e86f4b607
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue