From 053b6dace33af7a8e9409f651fd674c171fd24d6 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 27 Aug 2010 19:08:41 +0000 Subject: [PATCH] Fix JS strict warning --- 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 a456b11517..12e00b49b4 100644 --- a/chrome/content/zotero/xpcom/db.js +++ b/chrome/content/zotero/xpcom/db.js @@ -229,7 +229,7 @@ Zotero.DBConnection.prototype.getStatement = function (sql, params, checkParams) // First, determine the type of query using first word var matches = sql.match(/^[^\s\(]*/); - queryMethod = matches[0].toLowerCase(); + var queryMethod = matches[0].toLowerCase(); if (params) { // If single scalar value or single non-array object, wrap in an array