Fix JS strict warning

This commit is contained in:
Dan Stillman 2010-08-27 19:08:41 +00:00
parent 6a629490b3
commit 053b6dace3

View file

@ -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