diff options
-rw-r--r-- | it_dbi.class | 1 |
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,%"); |