1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-10 00:28:34 +02:00
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@768 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2009-06-30 11:10:56 +00:00
parent 543bc030f9
commit a122905885

View File

@@ -8,7 +8,7 @@ if ($_POST && !$error && !$_POST["add"] && !$_POST["drop_col"] && !$_POST["up"]
}
if (!$_POST["drop"]) {
$set = array();
$fields = array_filter((array) $_POST["fields"], 'strlen');
$fields = (array) $_POST["fields"];
ksort($fields); // enforce fields order
foreach ($fields as $field) {
if (strlen($field["field"])) {