diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index f4a43da3..4859e4f2 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -303,7 +303,7 @@ function input($field, $value, $function) { $functions = (isset($_GET["select"]) ? array("orig" => lang('original')) : array()) + $adminer->editFunctions($field); $first = array_search("", $functions) + (isset($_GET["select"]) ? 1 : 0); $onchange = ($first ? " onchange=\"var f = this.form['function[" . addcslashes($name, "\r\n'\\") . "]']; if ($first > f.selectedIndex) f.selectedIndex = $first;\"" : ""); - echo (count($functions) > 1 ? "" : (strlen($functions[0]) ? $functions[0] : " ")) . '