From b64346566ee94fd5008dd16412453d219022d331 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Wed, 2 Jun 2010 01:44:06 +0200 Subject: [PATCH] Fix displaying searched value --- editor/include/adminer.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/include/adminer.inc.php b/editor/include/adminer.inc.php index dc8a9324..135c048b 100644 --- a/editor/include/adminer.inc.php +++ b/editor/include/adminer.inc.php @@ -216,7 +216,7 @@ ORDER BY ORDINAL_POSITION"); } $i = 0; foreach ($where as $val) { - if ($columns[$val["col"]] && "$val[col]$val[val]" != "") { + if (($val["col"] == "" || $columns[$val["col"]]) && "$val[col]$val[val]" != "") { echo "
"; echo html_select("where[$i][op]", array(-1 => "") + $this->operators, $val["op"]); echo "
\n";