mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 08:06:59 +02:00
Hide hashes in select
This commit is contained in:
@@ -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"]) : "");
|
||||
}
|
||||
|
Reference in New Issue
Block a user