diff --git a/adminer/include/editing.inc.php b/adminer/include/editing.inc.php
index 1d18dd48..cca23413 100644
--- a/adminer/include/editing.inc.php
+++ b/adminer/include/editing.inc.php
@@ -1,10 +1,10 @@
") { //! pass empty separator if there are no functions in the whole table
+function input($name, $field, $value) {
global $types;
$name = htmlspecialchars(bracket_escape($name));
- echo " ";
+ echo " ";
if ($field["type"] == "enum") {
- echo ($separator ? " $separator" : "") . (isset($_GET["select"]) ? ' ' . lang('original') . ' ' : "");
+ echo " " . (isset($_GET["select"]) ? ' ' . lang('original') . ' ' : "");
if ($field["null"] || isset($_GET["default"])) {
echo ' ' . ($field["null"] ? 'NULL ' : '') . ' ';
}
@@ -43,7 +43,7 @@ function input($name, $field, $value, $separator = " ") { //! pass empty
if ($field["null"] || isset($_GET["default"])) {
array_unshift($options, "NULL");
}
- echo (count($options) > 1 || isset($_GET["select"]) ? '' . (isset($_GET["select"]) ? '' . lang('original') . ' ' : '') . optionlist($options, (isset($value) ? (string) $_POST["function"][$name] : null)) . ' ' : ($separator ? " " : "")) . $separator;
+ echo (count($options) > 1 || isset($_GET["select"]) ? '' . (isset($_GET["select"]) ? '' . lang('original') . ' ' : '') . optionlist($options, (isset($value) ? (string) $_POST["function"][$name] : null)) . ' ' : " ") . ' ';
if ($field["type"] == "set") { //! 64 bits
preg_match_all("~'((?:[^']+|'')*)'~", $field["length"], $matches);
foreach ($matches[1] as $i => $val) {