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";