diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index fbc086de..aa3dc034 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -1423,6 +1423,7 @@ function edit_form($table, $fields, $row, $update) {
" . lang('You have no privileges to update this table.') . "\n"; } else { @@ -1467,8 +1468,10 @@ function edit_form($table, $fields, $row, $update) { $value = ""; $function = "uuid"; } - if ($field["auto_increment"] || $function == "now" || $function == "uuid") { + if ($is_first && ($field["auto_increment"] || $function == "now" || $function == "uuid")) { $first++; + } else { + $is_first = false; } input($field, $value, $function); echo "\n";