From 446b54f69307f22543744b72f173aeb1f6b28686 Mon Sep 17 00:00:00 2001 From: dave Date: Wed, 23 Jan 2008 20:20:54 +0000 Subject: [PATCH] - Properly construct the WHERE clause in the table editor --- tableeditor.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);