Hide hashes in select
This commit is contained in:
parent
7abc734607
commit
014373ca82
|
@ -29,6 +29,9 @@ function adminer_object() {
|
|||
}
|
||||
|
||||
function fieldName($field, $order = 0) {
|
||||
if ($order && ereg('_(md5|sha1)$', $field["field"])) {
|
||||
return ""; // hide hashes in select
|
||||
}
|
||||
// only columns with comments will be displayed and only the first five in select
|
||||
return ($order <= 5 ? h($field["comment"]) : "");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue