Permalink
Browse files

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
  • Loading branch information...
1 parent c1130ed commit 16592e48bbe1def2f0035a3e2b9299e335fdec46 jakubvrana committed Dec 17, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 adminer/include/editing.inc.php
@@ -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]),

0 comments on commit 16592e4

Please sign in to comment.