diff --git a/chrome/content/zotero/xpcom/db.js b/chrome/content/zotero/xpcom/db.js index 0f5635fde..fe5c5c63e 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]; }