Skip to content

Commit

Permalink
Mark auto_increment fields in edit
Browse files Browse the repository at this point in the history
  • Loading branch information
vrana committed Jan 7, 2014
1 parent 8829a8e commit 47fc034
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions adminer/include/adminer.inc.php
Expand Up @@ -531,6 +531,9 @@ function editFunctions($field) {
}
}
}
if ($field["auto_increment"] && !isset($_GET["select"]) && !where($_GET)) {
$return = lang('Auto Increment');
}
return explode("/", $return);
}

Expand Down
3 changes: 2 additions & 1 deletion changes.txt
Expand Up @@ -13,11 +13,12 @@ Disable underlining links
Differentiate views in navigation
Improve speed of CSV import
Keep form values after refresh in Firefox
Encrypt passwords stored in session by a key stored in cookie
Mark auto_increment fields in edit
Don't append newlines to uploaded files, bug since Adminer 3.7.0
Don't display SQL edit form on Ctrl+click on the select query, introduced in Adminer 3.6.4
Use MD5 for editing long keys only in supported drivers, bug since Adminer 3.6.4
Don't reset column when searching for an empty value with Enter, bug since Adminer 3.6.4
Encrypt passwords stored in session by a key stored in cookie
Don't execute external JavaScript when verifying version
Include JUSH in the compiled version
Protect CSRF token against BREACH
Expand Down

0 comments on commit 47fc034

Please sign in to comment.