diff options
author | Christian Schneider | 2009-08-25 18:00:21 +0000 |
---|---|---|
committer | Christian Schneider | 2009-08-25 18:00:21 +0000 |
commit | ea96870667fcd96ca5f7f7b197924c581cc03487 (patch) | |
tree | 100a723e979fd093868b332d902a89255e65523f | |
parent | a04073131d35ba78af4a009c4699cc4895c96f7f (diff) | |
download | itools-ea96870667fcd96ca5f7f7b197924c581cc03487.tar.gz itools-ea96870667fcd96ca5f7f7b197924c581cc03487.tar.bz2 itools-ea96870667fcd96ca5f7f7b197924c581cc03487.zip |
Fix multiple NI with arrays
-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,%"); |