diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index 20637cc0..55711c0c 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -346,7 +346,7 @@ focus(qs('#username')); for ($i = 0; $i <= count($_GET["where"]); $i++) { list(, $val) = each($_GET["where"]); if (!$val || ("$val[col]$val[val]" != "" && in_array($val["op"], $this->operators))) { - echo "
" . select_input(" name='where[$i][col]' onchange='$change_next'", $columns, $val["col"], "(" . lang('anywhere') . ")"); + echo "
" . select_input(" name='where[$i][col]' onchange='$change_next'", $columns, $val["col"], "", "(" . lang('anywhere') . ")"); echo html_select("where[$i][op]", $this->operators, $val["op"], $change_next); echo "
\n"; } diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index 8afff85b..451bd2c8 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -176,13 +176,15 @@ function html_select($name, $options, $value = "", $onchange = true, $labelled_b * @param array * @param string * @param string +* @param string * @return string */ -function select_input($attrs, $options, $value = "", $placeholder = "") { - return ($options - ? "