Maintain parameters order in function edit (thanks to Torben Petersen Egmose)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1277 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
c1130ed599
commit
16592e48bb
|
@ -297,7 +297,7 @@ function routine($name, $type) {
|
|||
foreach ($matches as $param) {
|
||||
$name = str_replace("``", "`", $param[2]) . $param[3];
|
||||
$data_type = strtolower($param[4]);
|
||||
$fields[$name] = array(
|
||||
$fields[] = array(
|
||||
"field" => $name,
|
||||
"type" => (isset($aliases[$data_type]) ? $aliases[$data_type] : $data_type),
|
||||
"length" => preg_replace_callback("~$enum_length~s", 'normalize_enum', $param[5]),
|
||||
|
|
Loading…
Reference in a new issue