diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index ed847f13..944d5e4e 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -561,7 +561,7 @@ function input($field, $value, $function) { } $onchange = ($first ? " onchange=\"var f = this.form['function[" . addcslashes($name, "\r\n'\\") . "]']; if ($first > f.selectedIndex) f.selectedIndex = $first;\"" : ""); $attrs = " name='fields[$name]'$onchange"; - echo (count($functions) > 1 ? html_select("function[$name]", $functions, !isset($function) || in_array($function, $functions) ? $function : "") : nbsp(reset($functions))) . '