commit 053b6dace33af7a8e9409f651fd674c171fd24d6
parent 6a629490b3e00a72249af23e8752a5cda6e5eb3a
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 27 Aug 2010 19:08:41 +0000
Fix JS strict warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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