summaryrefslogtreecommitdiff
path: root/it_dbi.class
diff options
context:
space:
mode:
authorNathan Gass2020-09-03 15:54:39 +0200
committerNathan Gass2020-09-03 16:02:03 +0200
commit6190f37f8a6b6dadccb0766326a0ad8781670f41 (patch)
treea23de99c60cd95f9ece61c4589f0581143982e43 /it_dbi.class
parentd3f0a6e4f822607b41d138afaa77081cab6afe5e (diff)
downloaditools-6190f37f8a6b6dadccb0766326a0ad8781670f41.tar.gz
itools-6190f37f8a6b6dadccb0766326a0ad8781670f41.tar.bz2
itools-6190f37f8a6b6dadccb0766326a0ad8781670f41.zip
avoid forbidden syntax
Diffstat (limited to 'it_dbi.class')
-rw-r--r--it_dbi.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_dbi.class b/it_dbi.class
index 5d86f12..6383910 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -415,7 +415,7 @@ function _where($params)
if ($dyncols_enabled && $this->_fields['dyncols'] && !$this->_fields[$field] && strpos($field, '(') === false)
$field = $this->_json_extract('dyncols', $field);
- else if (it::match('^\w*[A-Z]\w+$', $field, 'casesensitive' => 1))
+ else if (it::match('^\w*[A-Z]\w+$', $field, ['casesensitive' => 1]))
$field = $this->escape_name($field);
switch ($op)