mirror of
https://github.com/vrana/adminer.git
synced 2025-08-15 19:13:59 +02:00
Apply field name with functions
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@884 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -32,8 +32,8 @@ function adminer_table_name($row) {
|
||||
return call_adminer('table_name', htmlspecialchars(strlen($row["Comment"]) ? $row["Comment"] : $row["Name"]), $row);
|
||||
}
|
||||
|
||||
function adminer_field_name($fields, $key) {
|
||||
return call_adminer('field_name', htmlspecialchars(strlen($fields[$key]["comment"]) ? $fields[$key]["comment"] : $key), $fields, $key);
|
||||
function adminer_field_name($field) {
|
||||
return call_adminer('field_name', ($field ? htmlspecialchars(strlen($field["comment"]) ? $field["comment"] : $field["field"]) : "*"), $field);
|
||||
}
|
||||
|
||||
function adminer_select_links($table_status) {
|
||||
|
Reference in New Issue
Block a user