From a889c1748d5b37da01ee8fd535ee3bd95b258cd2 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Mon, 29 Jun 2009 10:25:04 +0000 Subject: [PATCH] Remove unused separator git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@765 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- adminer/include/editing.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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"]) ? ' ' : ""); + echo " " . (isset($_GET["select"]) ? ' ' : ""); if ($field["null"] || isset($_GET["default"])) { echo ' '; } @@ -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"]) ? '' : ($separator ? " " : "")) . $separator; + echo (count($options) > 1 || isset($_GET["select"]) ? '' : " ") . ''; if ($field["type"] == "set") { //! 64 bits preg_match_all("~'((?:[^']+|'')*)'~", $field["length"], $matches); foreach ($matches[1] as $i => $val) {