From ea96870667fcd96ca5f7f7b197924c581cc03487 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 25 Aug 2009 18:00:21 +0000 Subject: Fix multiple NI with arrays --- it_dbi.class | 1 + 1 file changed, 1 insertion(+) (limited to 'it_dbi.class') 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,%"); -- cgit v1.2.3