summaryrefslogtreecommitdiff
path: root/it_dbi.class
diff options
context:
space:
mode:
authorChristian Schneider2009-08-25 18:00:21 +0000
committerChristian Schneider2009-08-25 18:00:21 +0000
commitea96870667fcd96ca5f7f7b197924c581cc03487 (patch)
tree100a723e979fd093868b332d902a89255e65523f /it_dbi.class
parenta04073131d35ba78af4a009c4699cc4895c96f7f (diff)
downloaditools-ea96870667fcd96ca5f7f7b197924c581cc03487.tar.gz
itools-ea96870667fcd96ca5f7f7b197924c581cc03487.tar.bz2
itools-ea96870667fcd96ca5f7f7b197924c581cc03487.zip
Fix multiple NI with arrays
Diffstat (limited to 'it_dbi.class')
-rw-r--r--it_dbi.class1
1 files changed, 1 insertions, 0 deletions
diff --git a/it_dbi.class b/it_dbi.class
index c9f2bbb..dfc5765 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -312,6 +312,7 @@ function _where($params = "", $dummy_link = null, $omit_where = false)
case 'NI':
if ($value)
{
+ $parts = array();
foreach ((array)$value as $val)
$parts[] = "CONCAT(',',$field,',') LIKE " . $this->escape_string("%,$val,%");