diff options
Diffstat (limited to 'it_dbi.class')
-rw-r--r-- | it_dbi.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_dbi.class b/it_dbi.class index 4e033b4..66f75a6 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -324,7 +324,7 @@ function _where($params = "", $link = null, $omit_where = false) $query .= "$sep$field $op ('" . join("','", $qvals) . "')"; # null is mapped to '' } else - $query .= $sep . "0"; + $query .= $sep . (($op == 'IN') ? "0" : "1"); break; } |