diff --git a/tableeditor.class.php b/tableeditor.class.php index dbe0c62..e7157e3 100644 --- a/tableeditor.class.php +++ b/tableeditor.class.php @@ -983,7 +983,7 @@ class TableEditor if(count($this->fieldFilterList)) { foreach($this->fieldFilterList AS $k=>$v) { - $where = ($v == false) ? $k : "`$k`='$v'"; + $where[] = ($v == false) ? $k : "`$k`='$v'"; } } return array($sel, $from, $where);