diff --git a/adminer/create.inc.php b/adminer/create.inc.php index 953cd590..075fbf33 100644 --- a/adminer/create.inc.php +++ b/adminer/create.inc.php @@ -168,6 +168,9 @@ if (!$_POST) { } $collations = collations(); +if (is_array(reset($collations))) { + $collations = call_user_func_array('array_merge', array_values($collations)); +} $engines = $driver->engines(); // case of engine may differ foreach ($engines as $engine) { @@ -185,7 +188,7 @@ if (support("columns") || $TABLE == "") { echo lang('Table name') . ": \n"; echo ($engines ? html_select("Engine", array("" => "(" . lang('engine') . ")") + $engines, $row["Engine"]) . on_help("event.target.value", 1) . script("qsl('select').onchange = helpClose;") . "\n" : ""); if ($collations) { - echo "" . optionlist($collations) . ""; + echo "" . optionlist($collations) . "\n"; echo (preg_match("~sqlite|mssql~", JUSH) ? "" : ""); } echo "\n";